artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ca8ec
)
Synonym -Wno-cpp for -Wno-#warnings. That one is not a headache for
author
espie
<espie@openbsd.org>
Fri, 2 Jun 2017 10:52:26 +0000
(10:52 +0000)
committer
espie
<espie@openbsd.org>
Fri, 2 Jun 2017 10:52:26 +0000
(10:52 +0000)
scripting.
(got it into upstream, it's just a backport)
okay kettenis@, patrick@
gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
patch
|
blob
|
history
diff --git
a/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
b/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
index
4173d03
..
812d7c9
100644
(file)
--- a/
gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
+++ b/
gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
@@
-719,6
+719,7
@@
def Pedantic : DiagGroup<"pedantic">;
// Aliases.
def : DiagGroup<"", [Extra]>; // -W = -Wextra
def : DiagGroup<"endif-labels", [ExtraTokens]>; // -Wendif-labels=-Wextra-tokens
+def : DiagGroup<"cpp", [PoundWarning]>; // -Wcpp = -W#warnings
def : DiagGroup<"comments", [Comment]>; // -Wcomments = -Wcomment
def : DiagGroup<"conversion-null",
[NullConversion]>; // -Wconversion-null = -Wnull-conversion