Skip to content

Commit a58310c

Browse files
authored
Merge pull request #64291 from NuriAmari/class-comment-fix
2 parents c787349 + a535694 commit a58310c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4360,7 +4360,7 @@ namespace {
43604360
// Go back to the first list and find classes with matching Swift names
43614361
// *even if the ObjC name doesn't match.*
43624362
// This shouldn't be allowed but we need it for source compatibility;
4363-
// people used `@class SwiftNameOfClass` as a workaround for not
4363+
// people used `\@class SwiftNameOfClass` as a workaround for not
43644364
// having the previous loop, and it "worked".
43654365
for (auto result : swiftDeclsByName) {
43664366
if (auto singleResult = dyn_cast<T>(result)) {
@@ -4401,7 +4401,7 @@ namespace {
44014401
return nullptr;
44024402
}
44034403

4404-
/// Given some forward declared Objective-C type `@class Foo` or `@protocol Bar`, this
4404+
/// Given some forward declared Objective-C type `\@class Foo` or `\@protocol Bar`, this
44054405
/// method attempts to find a matching @objc annotated Swift declaration `@objc class Foo {}`
44064406
/// or `@objc protocol Bar {}`, in an imported Swift module. That is if the Clang node is in
44074407
/// a Clang module, the Swift overlay for that module does not count as "non-local". Similarly,

0 commit comments

Comments
 (0)