From 3fbf5931ea8f1930d69a57085a1abcec66f1f53f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:17:38 -0400 Subject: [PATCH 1/2] spelling: availability Signed-off-by: Josh Soref --- lib/PrintAsClang/DeclAndTypePrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PrintAsClang/DeclAndTypePrinter.cpp b/lib/PrintAsClang/DeclAndTypePrinter.cpp index 598cfe2ba9be1..d8c2ec7d5baa5 100644 --- a/lib/PrintAsClang/DeclAndTypePrinter.cpp +++ b/lib/PrintAsClang/DeclAndTypePrinter.cpp @@ -289,7 +289,7 @@ 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, + // of asking if the class is weak imported. If the class has availability, // we'll print a SWIFT_AVAIALBLE() which implies __attribute__((weak_imported)) // already. if (CD->getAttrs().hasAttribute()) From d35b40691a60e817bc30e792511d7ffa76a3aeb9 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:17:53 -0400 Subject: [PATCH 2/2] spelling: available Signed-off-by: Josh Soref --- lib/PrintAsClang/DeclAndTypePrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PrintAsClang/DeclAndTypePrinter.cpp b/lib/PrintAsClang/DeclAndTypePrinter.cpp index d8c2ec7d5baa5..ad9b9a62bf5ac 100644 --- a/lib/PrintAsClang/DeclAndTypePrinter.cpp +++ b/lib/PrintAsClang/DeclAndTypePrinter.cpp @@ -290,7 +290,7 @@ class DeclAndTypePrinter::Implementation // 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 availability, - // we'll print a SWIFT_AVAIALBLE() which implies __attribute__((weak_imported)) + // we'll print a SWIFT_AVAILABLE() which implies __attribute__((weak_imported)) // already. if (CD->getAttrs().hasAttribute()) os << "SWIFT_WEAK_IMPORT\n";