diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2013-07-16 22:40:53 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2013-07-16 22:40:53 +0000 |
commit | 4c27ac2348965f754a11ebed640878d0549f462d (patch) | |
tree | f075eccb31ae241a4751122d76dedf0e37d5f40b /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | ec42bd9700474a1bb0cae193e5f968592f70f8c0 (diff) | |
download | bcm5719-llvm-4c27ac2348965f754a11ebed640878d0549f462d.tar.gz bcm5719-llvm-4c27ac2348965f754a11ebed640878d0549f462d.zip |
Make Expr::isConstantInitializer match IRGen.
Sema needs to be able to accurately determine what will be
emitted as a constant initializer and what will not, so
we get accurate errors in C and accurate -Wglobal-constructors
warnings in C++. This makes Expr::isConstantInitializer match
CGExprConstant as closely as possible.
llvm-svn: 186464
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions