Use a group for a diagnostics I added late.

llvm-svn: 139713
This commit is contained in:
Fariborz Jahanian 2011-09-14 19:02:25 +00:00
parent a59d118b6c
commit fe52617bcd
2 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@ def : DiagGroup<"overflow">;
def OverlengthStrings : DiagGroup<"overlength-strings">;
def OverloadedVirtual : DiagGroup<"overloaded-virtual">;
def ObjCMissingSuperCalls : DiagGroup<"objc-missing-super-calls">;
def ObjCRetainBlockProperty : DiagGroup<"objc-noncopy-retain-block-property">;
def Packed : DiagGroup<"packed">;
def Padded : DiagGroup<"padded">;
def PointerArith : DiagGroup<"pointer-arith">;

View File

@ -496,7 +496,7 @@ def warn_objc_property_copy_missing_on_block : Warning<
"when -fobjc-gc-only is specified">;
def warn_objc_property_retain_of_block : Warning<
"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<
"writable atomic property %0 cannot pair a synthesized setter/getter "
"with a user defined setter/getter">;