diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-11-20 12:17:48 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-11-20 12:28:16 +0100 |
| commit | 82800df4de1bfc5fc332fc60f399d50c444050fe (patch) | |
| tree | 760e371c5bc244bc742b47a2ec4b00f859365df8 /lldb/include | |
| parent | 02e9113665602ca3a4b987a78db7147a648766d1 (diff) | |
| download | bcm5719-llvm-82800df4de1bfc5fc332fc60f399d50c444050fe.tar.gz bcm5719-llvm-82800df4de1bfc5fc332fc60f399d50c444050fe.zip | |
[lldb][NFC] Remove ClangASTContext::GetAsDeclContext
Everything we pass to this function is already a DeclContext.
Diffstat (limited to 'lldb/include')
| -rw-r--r-- | lldb/include/lldb/Symbol/ClangASTContext.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h index 38047583412..e68df0a4868 100644 --- a/lldb/include/lldb/Symbol/ClangASTContext.h +++ b/lldb/include/lldb/Symbol/ClangASTContext.h @@ -308,10 +308,7 @@ public: class_template_specialization_decl); static clang::DeclContext * - GetAsDeclContext(clang::CXXMethodDecl *cxx_method_decl); - - static clang::DeclContext * - GetAsDeclContext(clang::ObjCMethodDecl *objc_method_decl); + GetAsDeclContext(clang::FunctionDecl *function_decl); static bool CheckOverloadedOperatorKindParameterCount( bool is_method, clang::OverloadedOperatorKind op_kind, |

