Skip to content
Commit 42d3af9d authored by Richard Smith's avatar Richard Smith
Browse files

When folding the size of a global scope VLA to a constant, require the array

bound to not have side effects(!). Add constant-folding support for expressions
of void type, to ensure that we can still fold ((void)0, 1) as an array bound.

llvm-svn: 146000
parent 6bdeb14d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment