diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-07 00:43:50 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-07 00:43:50 +0000 |
commit | aa9c3503867bc52e1f61c4da676116db1b1cdf01 (patch) | |
tree | 9490e03cc550a073cb59637a05ab0c4e69cf4c27 /lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | b76a97e91dc4bea0b6b3da06c84e02f50cd351d3 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions