Unkown -> Unknown
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122708 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp
index 6977a33..22b373d 100644
--- a/lib/Sema/SemaDeclAttr.cpp
+++ b/lib/Sema/SemaDeclAttr.cpp
@@ -2904,7 +2904,7 @@
void Sema::EmitDeprecationWarning(NamedDecl *D, llvm::StringRef Message,
SourceLocation Loc,
- bool UnkownObjCClass) {
+ bool UnknownObjCClass) {
// Delay if we're currently parsing a declaration.
if (ParsingDeclDepth) {
DelayedDiagnostics.push_back(DelayedDiagnostic::makeDeprecation(Loc, D,
@@ -2919,7 +2919,7 @@
Diag(Loc, diag::warn_deprecated_message) << D->getDeclName()
<< Message;
else {
- if (!UnkownObjCClass)
+ if (!UnknownObjCClass)
Diag(Loc, diag::warn_deprecated) << D->getDeclName();
else
Diag(Loc, diag::warn_deprecated_fwdclass_message) << D->getDeclName();