by default in GCC. Users who want to emulate gcc's warning behavior
exactly should be able to use CC="clang -Wno-non-gcc"; this should help
projects to transition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86241
91177308-0d34-0410-b5e6-
96231b3b80d8
def : DiagGroup<"", [Extra]>; // -W = -Wextra
def : DiagGroup<"endif-labels", [ExtraTokens]>; // endif-labels = endif-tokens
+// A warning group for warnings that we want to have on by default in clang,
+// but which aren't no by default in GCC.
+def NonGCC : DiagGroup<"non-gcc",
+ [SignCompare]>;