summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-05-08 18:03:39 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-05-08 18:03:39 +0000
commitd6886e7fad5e01cf4d6f755ca219a084fc17e336 (patch)
tree1f9d9d038549994b8c84341d1d7e0733f92181f8
parent149c04a5cf9f8f500211352951dff81e31d82ccf (diff)
downloadbcm5719-llvm-d6886e7fad5e01cf4d6f755ca219a084fc17e336.tar.gz
bcm5719-llvm-d6886e7fad5e01cf4d6f755ca219a084fc17e336.zip
Fixes a typo. note_xxx not not_xxx.
llvm-svn: 156391
-rw-r--r--clang/include/clang/Basic/DiagnosticSemaKinds.td2
-rw-r--r--clang/lib/Sema/SemaObjCProperty.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td
index 37611bd7bc6..5a473e0454b 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -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">;
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp
index be0de14fd3e..8e767e21bd1 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -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);
}
}
}
OpenPOWER on IntegriCloud