aboutsummaryrefslogtreecommitdiff
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
commit5ea66619a3108e2985e952b9a60a84316d464b25 (patch)
tree3f9ea69822791758dd66831fc0d6639e45e87700
parent101d4e0c8ffbcdaaa58cddf1c20f98aa1b4501c4 (diff)
Fixes a typo. note_xxx not not_xxx.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156391 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td2
-rw-r--r--lib/Sema/SemaObjCProperty.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td
index 37611bd7bc..5a473e0454 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/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/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp
index be0de14fd3..8e767e21bd 100644
--- a/lib/Sema/SemaObjCProperty.cpp
+++ b/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);
}
}
}