forked from OSchip/llvm-project
Use a group for a diagnostics I added late.
llvm-svn: 139713
This commit is contained in:
parent
a59d118b6c
commit
fe52617bcd
|
@ -96,6 +96,7 @@ def : DiagGroup<"overflow">;
|
||||||
def OverlengthStrings : DiagGroup<"overlength-strings">;
|
def OverlengthStrings : DiagGroup<"overlength-strings">;
|
||||||
def OverloadedVirtual : DiagGroup<"overloaded-virtual">;
|
def OverloadedVirtual : DiagGroup<"overloaded-virtual">;
|
||||||
def ObjCMissingSuperCalls : DiagGroup<"objc-missing-super-calls">;
|
def ObjCMissingSuperCalls : DiagGroup<"objc-missing-super-calls">;
|
||||||
|
def ObjCRetainBlockProperty : DiagGroup<"objc-noncopy-retain-block-property">;
|
||||||
def Packed : DiagGroup<"packed">;
|
def Packed : DiagGroup<"packed">;
|
||||||
def Padded : DiagGroup<"padded">;
|
def Padded : DiagGroup<"padded">;
|
||||||
def PointerArith : DiagGroup<"pointer-arith">;
|
def PointerArith : DiagGroup<"pointer-arith">;
|
||||||
|
|
|
@ -496,7 +496,7 @@ def warn_objc_property_copy_missing_on_block : Warning<
|
||||||
"when -fobjc-gc-only is specified">;
|
"when -fobjc-gc-only is specified">;
|
||||||
def warn_objc_property_retain_of_block : Warning<
|
def warn_objc_property_retain_of_block : Warning<
|
||||||
"retain'ed block property does not copy the block "
|
"retain'ed block property does not copy the block "
|
||||||
"- use copy attribute instead">;
|
"- use copy attribute instead">, InGroup<ObjCRetainBlockProperty>;
|
||||||
def warn_atomic_property_rule : Warning<
|
def warn_atomic_property_rule : Warning<
|
||||||
"writable atomic property %0 cannot pair a synthesized setter/getter "
|
"writable atomic property %0 cannot pair a synthesized setter/getter "
|
||||||
"with a user defined setter/getter">;
|
"with a user defined setter/getter">;
|
||||||
|
|
Loading…
Reference in New Issue