[cfe-commits] r137066 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Ted Kremenek
kremenek at apple.com
Mon Aug 8 14:28:18 PDT 2011
Author: kremenek
Date: Mon Aug 8 16:28:18 2011
New Revision: 137066
URL: http://llvm.org/viewvc/llvm-project?rev=137066&view=rev
Log:
Add -W flag for ARC warning "performSelector may cause a leak because its selector is unknown".
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=137066&r1=137065&r2=137066&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon Aug 8 16:28:18 2011
@@ -497,7 +497,8 @@
def err_arc_perform_selector_retains : Error<
"performSelector names a selector which retains the object">;
def warn_arc_perform_selector_leaks : Warning<
- "performSelector may cause a leak because its selector is unknown">;
+ "performSelector may cause a leak because its selector is unknown">,
+ InGroup<DiagGroup<"arc-performSelector-leaks">>;
def error_synthesized_ivar_yet_not_supported : Error<
"instance variable synthesis not yet supported"
More information about the cfe-commits
mailing list