]> granicus.if.org Git - clang/commitdiff
Fixes a typo. note_xxx not not_xxx.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 8 May 2012 18:03:39 +0000 (18:03 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 8 May 2012 18:03:39 +0000 (18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156391 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaObjCProperty.cpp

index 37611bd7bc6a4129cead3df2a41cac4a021e2a59..5a473e0454b385a12ef1f9b16913aa6acfb9d3a3 100644 (file)
@@ -448,7 +448,7 @@ def err_class_extension_after_impl : Error<
   "cannot declare class extension for %0 after class implementation">;
 def note_implementation_declared : Note<
   "class implementation is declared here">;
-def not_while_in_implementation : Note<
+def note_while_in_implementation : Note<
   "detected while default synthesizing properties in class implementation">;
 def note_class_declared : Note<
   "class is declared here">;
index be0de14fd3e8ac10b50ee805068eb061b0224470..8e767e21bd101c243b57e07b6a943b678f679a96 100644 (file)
@@ -1428,7 +1428,7 @@ void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl,
                             SourceLocation()));
     if (PIDecl) {
       Diag(Prop->getLocation(), diag::warn_missing_explicit_synthesis);
-      Diag(IMPDecl->getLocation(), diag::not_while_in_implementation);
+      Diag(IMPDecl->getLocation(), diag::note_while_in_implementation);
     }
   }
 }