Deleted Added
full compact
DiagnosticGroups.td (200583) DiagnosticGroups.td (201361)
1//==--- DiagnosticGroups.td - Diagnostic Group Definitions ----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 157 unchanged lines hidden (view full) ---

166 Reorder,
167 CharSubscript
168 ]>;
169
170// -Wall is -Wmost -Wparentheses
171def : DiagGroup<"all", [Most, Parentheses]>;
172
173// Aliases.
1//==--- DiagnosticGroups.td - Diagnostic Group Definitions ----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 157 unchanged lines hidden (view full) ---

166 Reorder,
167 CharSubscript
168 ]>;
169
170// -Wall is -Wmost -Wparentheses
171def : DiagGroup<"all", [Most, Parentheses]>;
172
173// Aliases.
174def : DiagGroup<"", [Extra]>; // -W = -Wextra
175def : DiagGroup<"endif-labels", [ExtraTokens]>; // endif-labels = endif-tokens
174def : DiagGroup<"", [Extra]>; // -W = -Wextra
175def : DiagGroup<"endif-labels", [ExtraTokens]>; // -Wendif-labels=-Wendif-tokens
176def : DiagGroup<"comments", [Comment]>; // -Wcomments = -Wcomment
176
177// A warning group for warnings that we want to have on by default in clang,
178// but which aren't on by default in GCC.
179def NonGCC : DiagGroup<"non-gcc",
180 [SignCompare, Conversion]>;
177
178// A warning group for warnings that we want to have on by default in clang,
179// but which aren't on by default in GCC.
180def NonGCC : DiagGroup<"non-gcc",
181 [SignCompare, Conversion]>;