Skip to content

Commit 2c67baf

Browse files
committed
[lldb] Remove old reference to m_swift_ast_context_triple
Seems there's a `SetTriple` on the context itself now.
1 parent 7df11ff commit 2c67baf

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
@@ -1786,8 +1786,6 @@ void TypeSystemSwiftTypeRef::SetTriple(const llvm::Triple triple) {
17861786
// This function appears to be only called via Module::SetArchitecture(ArchSpec).
17871787
if (auto *swift_ast_context = GetSwiftASTContextOrNull(nullptr))
17881788
swift_ast_context->SetTriple(triple);
1789-
else
1790-
m_swift_ast_context_triple = triple;
17911789
}
17921790

17931791
void TypeSystemSwiftTypeRef::ClearModuleDependentCaches() {

0 commit comments

Comments
 (0)