From 5fb66c173971a02ef0c0acbdfc8c7d220b2af988 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 2 Jun 2017 10:52:26 +0000 Subject: [PATCH] Synonym -Wno-cpp for -Wno-#warnings. That one is not a headache for scripting. (got it into upstream, it's just a backport) okay kettenis@, patrick@ --- gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td b/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td index 4173d03de9f..812d7c9db9d 100644 --- 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 -- 2.20.1