History log of /external/clang/test/Sema/gnu-flags.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f33c37f8fe476602d9a1cc968060f6113ec8aaa 19-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Add specific warning flags for GNU ext in Sema.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/gnu-flags.c
8d061b8ee7f5a56c494708b1ad00fffbb01dc4e9 22-Aug-2013 Dmitri Gribenko <gribozavr@gmail.com> gnu-flags.c test: relax the check a bit

This tests warning flags, so no need to test for specific alignment which is
platform-dependent.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188993 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/gnu-flags.c
e85baa92c8b6d68c254e33934397d4883fc12aef 21-Aug-2013 Richard Sandiford <rsandifo@linux.vnet.ibm.com> Tweak gnu-flags.c test for z, where globals have 2-byte alignment by default


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/gnu-flags.c
e0f720eaa958fa3eb539851779c51b8371e09e7b 21-Aug-2013 Eli Friedman <eli.friedman@gmail.com> Remove Extension warning for GNU local labels.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/gnu-flags.c
24515d9819fcea76743d8ffca077620b679bf318 21-Aug-2013 Eli Friedman <eli.friedman@gmail.com> Add more specific flags for misc GNU extensions.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/gnu-flags.c