aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-02-16 00:14:11 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-02-16 00:14:11 +0000
commit8f457004a1fdfc9c70fb52c5bc2e9d4ea6780d8d (patch)
treea75aaf9feba12802bcd60b55df91f33af5dd6cef /lib/Sema/SemaDeclObjC.cpp
parentff1ed985ede24b9a45e52d726db95767e35fe21e (diff)
Fix typo (per Chris's comment).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index 865f22aec5..075393b4ed 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -29,7 +29,7 @@ static void DiagnoseObjCImplementedDeprecations(Sema &S,
SourceLocation ImplLoc,
int select) {
- unsigned DIAG = diag::warn_depercated_def;
+ unsigned DIAG = diag::warn_deprecated_def;
if (S.Diags.getDiagnosticLevel(DIAG, ImplLoc)== Diagnostic::Ignored)
return;
if (ND && ND->getAttr<DeprecatedAttr>()) {