summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-16 22:40:53 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-16 22:40:53 +0000
commit21cde050b64eefbb5094af67985752eee42d00e2 (patch)
treeaddf0adbff2ff89640120c2576ce952166db623f /lib/CodeGen/CGExprComplex.cpp
parentad3c2b5faa3f28b0425eb3a0d6c994ec8ca65019 (diff)
downloadclang-21cde050b64eefbb5094af67985752eee42d00e2.tar.gz
clang-21cde050b64eefbb5094af67985752eee42d00e2.tar.bz2
clang-21cde050b64eefbb5094af67985752eee42d00e2.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions