Fixes a typo. note_xxx not not_xxx.

llvm-svn: 156391
This commit is contained in:
Fariborz Jahanian 2012-05-08 18:03:39 +00:00
parent 149c04a5cf
commit d6886e7fad
2 changed files with 2 additions and 2 deletions

View 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">;

View 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);
}
}
}