summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/gnu-flags.c
Commit message (Collapse)AuthorAgeFilesLines
* Add specific warning flags for GNU ext in Sema.Eli Friedman2013-09-181-12/+101
| | | | | | | | | | | | | | | | | | | This patch adds the following, more specific warning flags: gnu-anonymous-struct gnu-compound-literal-initializer gnu-empty-struct gnu-flexible-array-initializer gnu-flexible-array-union-member gnu-folding-constant redeclared-class-member gnu-redeclared-enum gnu-union-cast gnu-variable-sized-type-not-at-end Patch by Peter Lewis. llvm-svn: 190972
* gnu-flags.c test: relax the check a bitDmitri Gribenko2013-08-221-7/+1
| | | | | | | This tests warning flags, so no need to test for specific alignment which is platform-dependent. llvm-svn: 188993
* Tweak gnu-flags.c test for z, where globals have 2-byte alignment by defaultRichard Sandiford2013-08-211-1/+7
| | | | llvm-svn: 188905
* Remove Extension warning for GNU local labels.Eli Friedman2013-08-201-18/+2
| | | | | | | | | We generally don't warn about extensions involving keywords reserved for the implementation, so we shouldn't warn here either: the standard doesn't require it, and it doesn't provide useful information to the user. llvm-svn: 188840
* Add more specific flags for misc GNU extensions.Eli Friedman2013-08-201-0/+98
This adds the following as subgroups of -Wgnu: -Wgnu-alignof-expression, -Wgnu-case-range, -Wgnu-complex-integer, -Wgnu-conditional-omitted-operand, -Wgnu-empty-initializer, -Wgnu-label-as-value, -Wgnu-local-label, and -Wgnu-statement-expression, Patch by Peter Lewis. llvm-svn: 188839
OpenPOWER on IntegriCloud