From: Ted Kremenek Date: Thu, 5 May 2011 04:37:05 +0000 (+0000) Subject: Place "incompatible pointer types assigning..." warning under a flag, allowing it... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38165ae49d8af7dcc135858f347fdbce295093fd;p=clang Place "incompatible pointer types assigning..." warning under a flag, allowing it to be surgically mapped to an error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 9eee67da58..26dfc88496 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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>; def ext_typecheck_convert_discards_qualifiers : ExtWarn< "%select{assigning to|passing|returning|converting|initializing|sending|casting}2" " %0 "