]> granicus.if.org Git - clang/commit
Implement the missing pieces of Evaluate for _Complex types. With that complete...
authorEli Friedman <eli.friedman@gmail.com>
Tue, 10 Jan 2012 04:58:17 +0000 (04:58 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 10 Jan 2012 04:58:17 +0000 (04:58 +0000)
commit7ead5c7b6fd48cf549e55b4db499c26ecf88ae75
treeeeafa766caa81cbf5da3282bf0ca565d5a5b260f
parent610a60c0e68e34db5a5247d6102e58f37510fef8
Implement the missing pieces of Evaluate for _Complex types.  With that complete, remove some code from CGExprConstant which is no longer necessary.  While I'm here, a couple minor tweaks to _Complex-in-C++. (Specifically, make _Complex types literal types, and don't warn for _Complex int.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147840 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
lib/AST/Type.cpp
lib/CodeGen/CGExprConstant.cpp
lib/Sema/DeclSpec.cpp
test/Sema/complex-init-list.c
test/SemaCXX/constant-expression-cxx11.cpp