r197586 - ObjectiveC. Fixes the sentence in a diagnostic.
Fariborz Jahanian
fjahanian at apple.com
Wed Dec 18 08:51:07 PST 2013
Author: fjahanian
Date: Wed Dec 18 10:51:06 2013
New Revision: 197586
URL: http://llvm.org/viewvc/llvm-project?rev=197586&view=rev
Log:
ObjectiveC. Fixes the sentence in a diagnostic.
// rdar://15397430
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/test/SemaObjC/dealloc.m
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=197586&r1=197585&r2=197586&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Wed Dec 18 10:51:06 2013
@@ -777,7 +777,7 @@ def warn_arc_perform_selector_leaks : Wa
"performSelector may cause a leak because its selector is unknown">,
InGroup<DiagGroup<"arc-performSelector-leaks">>;
def warn_dealloc_in_category : Warning<
-"-dealloc in a category is being overridden">,
+"-dealloc is being overridden in a category">,
InGroup<DeallocInCategory>;
def err_gc_weak_property_strong_type : Error<
"weak attribute declared on a __strong type property in GC mode">;
Modified: cfe/trunk/test/SemaObjC/dealloc.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/dealloc.m?rev=197586&r1=197585&r2=197586&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/dealloc.m (original)
+++ cfe/trunk/test/SemaObjC/dealloc.m Wed Dec 18 10:51:06 2013
@@ -36,6 +36,6 @@
@end
@implementation Subclass (CAT)
-- (void)dealloc { // expected-warning {{-dealloc in a category is being overridden}}
+- (void)dealloc { // expected-warning {{-dealloc is being overridden in a category}}
}
@end
More information about the cfe-commits
mailing list