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 253b73f892b..44a824636cf 100644
--- a/lldb/unittests/Symbol/TestClangASTContext.cpp
+++ b/lldb/unittests/Symbol/TestClangASTContext.cpp
@@ -317,8 +317,7 @@ TEST_F(TestClangASTContext, TestUnifyAccessSpecifiers) {
}
TEST_F(TestClangASTContext, TestRecordHasFields) {
- CompilerType int_type =
- ClangASTContext::GetBasicType(m_ast->getASTContext(), eBasicTypeInt);
+ CompilerType int_type = m_ast->GetBasicType(eBasicTypeInt);
// Test that a record with no fields returns false
CompilerType empty_base = m_ast->CreateRecordType(
OpenPOWER on IntegriCloud