]> granicus.if.org Git - clang/commitdiff
Place "incompatible pointer types assigning..." warning under a flag, allowing it...
authorTed Kremenek <kremenek@apple.com>
Thu, 5 May 2011 04:37:05 +0000 (04:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 5 May 2011 04:37:05 +0000 (04:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130916 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 9eee67da5868c0a6149ca1dc7246689e3dcdd596..26dfc884962a2028d263b7ced86d92cf999ce51d 100644 (file)
@@ -3185,7 +3185,8 @@ def ext_typecheck_convert_incompatible_pointer : ExtWarn<
   "%select{assigning to|passing|returning|converting|initializing|sending|casting}2"
   " %0 "
   "%select{from|to parameter of type|from a function with result type|to type|"
-  "with an expression of type|to parameter of type|to type}2 %1">;
+  "with an expression of type|to parameter of type|to type}2 %1">,
+  InGroup<DiagGroup<"incompatible-pointer-types">>;
 def ext_typecheck_convert_discards_qualifiers : ExtWarn<
   "%select{assigning to|passing|returning|converting|initializing|sending|casting}2"
   " %0 "