]> granicus.if.org Git - clang/commitdiff
accept and ignore two new warning specifiers. -Wno-discard-qual seems easy
authorChris Lattner <sabre@nondot.org>
Thu, 30 Apr 2009 06:36:43 +0000 (06:36 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 30 Apr 2009 06:36:43 +0000 (06:36 +0000)
to hook up if someone was interested.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70482 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticGroups.td

index 928362ba27ca08c1ed681c344b9aeef66fd0e4fb..9fdf87482e32a631f709e5fb1009167d940986f7 100644 (file)
@@ -31,6 +31,7 @@ def Comment : DiagGroup<"comment">;
 def : DiagGroup<"conversion">;
 def : DiagGroup<"declaration-after-statement">;
 def : DiagGroup<"disabled-optimization">;
+def : DiagGroup<"discard-qual">;
 def ExtraTokens : DiagGroup<"extra-tokens">;
 
 def FormatExtraArgs : DiagGroup<"format-extra-args">;
@@ -63,6 +64,7 @@ def : DiagGroup<"pointer-arith">;
 def : DiagGroup<"pointer-to-int-cast">;
 def : DiagGroup<"redundant-decls">;
 def : DiagGroup<"return-type">;
+def : DiagGroup<"sequence-point">;
 def : DiagGroup<"shadow">;
 def : DiagGroup<"shorten-64-to-32">;
 def : DiagGroup<"sign-compare">;