summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Symbol/TestClangASTContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Symbol/TestClangASTContext.cpp')
-rw-r--r--lldb/unittests/Symbol/TestClangASTContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/unittests/Symbol/TestClangASTContext.cpp b/lldb/unittests/Symbol/TestClangASTContext.cpp
index cea3a2912e3..547ca312283 100644
--- a/lldb/unittests/Symbol/TestClangASTContext.cpp
+++ b/lldb/unittests/Symbol/TestClangASTContext.cpp
@@ -26,8 +26,7 @@ public:
SubsystemRAII<FileSystem, HostInfo> subsystems;
void SetUp() override {
- std::string triple = HostInfo::GetTargetTriple();
- m_ast.reset(new ClangASTContext(triple.c_str()));
+ m_ast.reset(new ClangASTContext(HostInfo::GetTargetTriple()));
}
void TearDown() override { m_ast.reset(); }
OpenPOWER on IntegriCloud