mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
Add -Wmismatched-method-attributes flag for when attributes in method definition and
their decl. do not match. // rdar://10448471 llvm-svn: 144676
This commit is contained in:
parent
b106bcc536
commit
7359122ba5
@ -4982,7 +4982,8 @@ def error_protected_ivar_access : Error<"instance variable %0 is protected">,
|
||||
AccessControl;
|
||||
def warn_maynot_respond : Warning<"%0 may not respond to %1">;
|
||||
def warn_attribute_method_def : Warning<
|
||||
"method attribute can only be specified on method declarations">;
|
||||
"method attribute can only be specified on method declarations">,
|
||||
InGroup<DiagGroup<"mismatched-method-attributes">>;
|
||||
def ext_typecheck_base_super : Warning<
|
||||
"method parameter type %0 does not match "
|
||||
"super class method parameter type %1">, InGroup<SuperSubClassMismatch>, DefaultIgnore;
|
||||
|
Loading…
Reference in New Issue
Block a user