diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-12-29 20:10:29 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-29 20:27:05 +0100 |
commit | 0007f9da7c0c780e2466759c1e53b1109a54e400 (patch) | |
tree | b7ccd53a760e40255e47cd7ece1d78b4da60de02 /lldb/source/Plugins | |
parent | c926d96fcab1e965ada6e045f762a73928d58c82 (diff) | |
download | bcm5719-llvm-0007f9da7c0c780e2466759c1e53b1109a54e400.tar.gz bcm5719-llvm-0007f9da7c0c780e2466759c1e53b1109a54e400.zip |
[lldb][NFC] Delete static versions of ClangASTContext::CreateFunctionType
We can always call the member function version of this function.
Diffstat (limited to 'lldb/source/Plugins')
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp index ec1f3478df2..6634824be01 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp @@ -1955,8 +1955,8 @@ void ClangExpressionDeclMap::AddThisType(NameSearchContext &context, m_clang_ast_context->GetBasicType(eBasicTypeVoid); CompilerType void_ptr_clang_type = void_clang_type.GetPointerType(); - CompilerType method_type = ClangASTContext::CreateFunctionType( - m_ast_context, void_clang_type, &void_ptr_clang_type, 1, false, 0); + CompilerType method_type = m_clang_ast_context->CreateFunctionType( + void_clang_type, &void_ptr_clang_type, 1, false, 0); const bool is_virtual = false; const bool is_static = false; |