summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/flexible-array-init.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Allow flexible array initializers that are not surrounded byDouglas Gregor2009-03-201-7/+7
| | | | | | | | braces. We now build the appropriate fully-structured initializer list for such things. Per PR3618, verified that we're getting the right code generation. llvm-svn: 67353
* Downgrade the "excess elements in initializer" errors to warnings *inDouglas Gregor2009-02-181-1/+1
| | | | | | C*. They're required errors in C++. llvm-svn: 64964
* GNU allows structs with flexible array members to be placed insideDouglas Gregor2009-02-101-6/+26
| | | | | | | arrays and other structs/unions as an extension. Downgrade our error to a warning. Fixes PR3540. llvm-svn: 64239
* Make one expected-diag directive match exactly one actual diagnostic.Sebastian Redl2009-02-071-1/+1
| | | | | | This uncovers some bugs, so several test cases now fail. llvm-svn: 64025
* Implement semantic analysis for the GNU flexible array initializationDouglas Gregor2009-02-041-0/+38
extension. The interaction with designated initializers is a bit... interesting... but we follow GNU's lead and don't permit too much crazy code in this area. Also, make the "excess initializers" error message a bit more informative. Addresses PR2561: http://llvm.org/bugs/show_bug.cgi?id=2561 llvm-svn: 63785
OpenPOWER on IntegriCloud