[cfe-commits] r73563 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td

Douglas Gregor dgregor at apple.com
Tue Jun 16 15:06:52 PDT 2009


Author: dgregor
Date: Tue Jun 16 17:06:52 2009
New Revision: 73563

URL: http://llvm.org/viewvc/llvm-project?rev=73563&view=rev
Log:
Don't warn about -Winvalid-pch or -Wno-invalid-pch. Since we don't
search for PCH files that correspond to header inclusions, this option
does not make sense. Fixes <rdar://problem/6970322>.


Modified:
    cfe/trunk/include/clang/Basic/DiagnosticGroups.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=73563&r1=73562&r2=73563&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Tue Jun 16 17:06:52 2009
@@ -41,6 +41,7 @@
 def : DiagGroup<"init-self">;
 def : DiagGroup<"inline">;
 def : DiagGroup<"int-to-pointer-cast">;
+def : DiagGroup<"invalid-pch">;
 def : DiagGroup<"missing-braces">;
 def : DiagGroup<"missing-declarations">;
 def : DiagGroup<"missing-format-attribute">;





More information about the cfe-commits mailing list