summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-initializer-aggregates.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR12670: Support for initializing an array of non-aggregate class type from anRichard Smith2012-07-071-0/+29
| | | | | | | initializer list. Patch by Olivier Goffart, with extra testcases by Meador Inge and Daniel Lunow. llvm-svn: 159896
* Make sure list-initialization of arrays works correctly in explicit type ↵Eli Friedman2012-02-291-0/+14
| | | | | | conversions. PR12121. llvm-svn: 151674
* Mark the parenthesized array member initialization diagnostic as DefaultError,Richard Smith2012-02-161-1/+1
| | | | | | | and move it out of -Wgnu so that -Wno-gnu leaves it enabled. As requested by Eli. llvm-svn: 150643
* Support GCC's bug^Wextension allowing class array members to be initalized by aRichard Smith2012-02-151-1/+1
| | | | | | parenthesized braced-init-list in the base/member initialization list. llvm-svn: 150625
* Don't route explicit construction via list-initialization through the ↵Sebastian Redl2012-02-131-0/+7
| | | | | | functional cast code path. It sometimes does the wrong thing, produces horrible error messages, and is just unnecessary. llvm-svn: 150408
* Proper initializer list support for new expressions and type construct ↵Sebastian Redl2012-02-121-0/+7
| | | | | | expressions. Array new still missing. llvm-svn: 150346
* Change the way we store initialization kinds so that all direct inits can ↵Sebastian Redl2012-02-121-0/+2
| | | | | | distinguish between list and parens form. This allows us to correctly diagnose the last test cases from litb. llvm-svn: 150343
* Enable function call and some overload resolution with parameters of ↵Sebastian Redl2011-11-011-1/+34
| | | | | | aggregate class type and initializer list arguments. llvm-svn: 143462
* Diagnose when omitting braces in direct list-initialization in C++0x.Sebastian Redl2011-10-161-0/+26
This also applies to C99-style aggregate literals, should they be used in C++11, since they are effectively identical to constructor call list-initialization syntax. llvm-svn: 142147
OpenPOWER on IntegriCloud