Skip to content

Commit 8261c09

Browse files
committed
[APINotes] Fix build error in LLDB
rdar://114382260
1 parent 5ef0e85 commit 8261c09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,9 +880,8 @@ TypeSystemSwiftTypeRef::GetSwiftName(const clang::Decl *clang_decl,
880880
swift_name =
881881
ExtractSwiftName(reader->lookupObjCProtocolInfo(default_name));
882882
else if (llvm::isa<clang::TagDecl>(clang_decl))
883-
// FIXME: this should pass the correct context instead of nullopt.
884-
swift_name =
885-
ExtractSwiftName(reader->lookupTag(std::nullopt, default_name));
883+
// FIXME: this should pass the correct context.
884+
swift_name = ExtractSwiftName(reader->lookupTag(default_name));
886885
else {
887886
assert(false && "unhandled clang decl kind");
888887
}

0 commit comments

Comments
 (0)