summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/complex-init-list.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement the missing pieces of Evaluate for _Complex types. With that ↵Eli Friedman2012-01-101-0/+3
| | | | | | 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.) llvm-svn: 147840
* Add list initialization for complex numbers in C. Essentially, this allows ↵Eli Friedman2011-09-191-0/+45
"_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description. <rdar://problem/9397672>. llvm-svn: 140090
OpenPOWER on IntegriCloud