[cfe-commits] r125619 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDeclObjC.cpp
Fariborz Jahanian
fjahanian at apple.com
Tue Feb 15 16:14:11 PST 2011
Author: fjahanian
Date: Tue Feb 15 18:14:11 2011
New Revision: 125619
URL: http://llvm.org/viewvc/llvm-project?rev=125619&view=rev
Log:
Fix typo (per Chris's comment).
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=125619&r1=125618&r2=125619&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Tue Feb 15 18:14:11 2011
@@ -1969,7 +1969,7 @@
def warn_deprecated_fwdclass_message : Warning<
"%0 maybe deprecated because receiver type is unknown">,
InGroup<DeprecatedDeclarations>;
-def warn_depercated_def : Warning<
+def warn_deprecated_def : Warning<
"Implementing deprecated %select{method|class|category}0">,
InGroup<DeprecatedImplementations>, DefaultIgnore;
def err_unavailable : Error<"%0 is unavailable">;
Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=125619&r1=125618&r2=125619&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Tue Feb 15 18:14:11 2011
@@ -29,7 +29,7 @@
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>()) {
More information about the cfe-commits
mailing list