diff --git a/lib/PrintAsClang/DeclAndTypePrinter.cpp b/lib/PrintAsClang/DeclAndTypePrinter.cpp index 598cfe2ba9be1..ad9b9a62bf5ac 100644 --- a/lib/PrintAsClang/DeclAndTypePrinter.cpp +++ b/lib/PrintAsClang/DeclAndTypePrinter.cpp @@ -289,8 +289,8 @@ class DeclAndTypePrinter::Implementation printDocumentationComment(CD); // This is just for testing, so we check explicitly for the attribute instead - // of asking if the class is weak imported. If the class has availablility, - // we'll print a SWIFT_AVAIALBLE() which implies __attribute__((weak_imported)) + // of asking if the class is weak imported. If the class has availability, + // we'll print a SWIFT_AVAILABLE() which implies __attribute__((weak_imported)) // already. if (CD->getAttrs().hasAttribute()) os << "SWIFT_WEAK_IMPORT\n";