forked from OSchip/llvm-project
Place "incompatible pointer types assigning..." warning under a flag, allowing it to be surgically mapped to an error.
llvm-svn: 130916
This commit is contained in:
parent
fdc5d84ba3
commit
4587d81191
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue