From: Ted Kremenek Date: Tue, 30 Oct 2012 04:43:57 +0000 (+0000) Subject: Change -Wcompare-distinct-pointer-type to -Wcompare-distinct-pointer-types, as X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a43c26acbd5b7cbe86bd9803ff087d5b3bf4e0d;p=platform%2Fupstream%2Fllvm.git Change -Wcompare-distinct-pointer-type to -Wcompare-distinct-pointer-types, as the warning is about comparing different types (plural). llvm-svn: 167003 --- diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 1635633..5aacd07 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -209,7 +209,7 @@ def TautologicalCompare : DiagGroup<"tautological-compare", [TautologicalOutOfRangeCompare]>; def HeaderHygiene : DiagGroup<"header-hygiene">; def DuplicateDeclSpecifier : DiagGroup<"duplicate-decl-specifier">; -def CompareDistinctPointerType : DiagGroup<"compare-distinct-pointer-type">; +def CompareDistinctPointerType : DiagGroup<"compare-distinct-pointer-types">; // Preprocessor warnings. def : DiagGroup<"builtin-macro-redefined">;