Skip to content

Commit 110ba10

Browse files
committed
[lldb] Remove old reference to m_swift_ast_context_triple
Seems there's a `SetTriple` on the context itself now. (cherry picked from commit 2c67baf)
1 parent df177d6 commit 110ba10

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,8 +1980,6 @@ void TypeSystemSwiftTypeRef::SetTriple(const llvm::Triple triple) {
19801980
// This function appears to be only called via Module::SetArchitecture(ArchSpec).
19811981
if (auto *swift_ast_context = GetSwiftASTContextOrNull(nullptr))
19821982
swift_ast_context->SetTriple(triple);
1983-
else
1984-
m_swift_ast_context_triple = triple;
19851983
}
19861984

19871985
void TypeSystemSwiftTypeRef::ClearModuleDependentCaches() {

0 commit comments

Comments
 (0)