summaryrefslogtreecommitdiffstats
path: root/lldb/include
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-29 23:01:53 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-30 00:22:23 +0100
commitb1fb07ddbaa539f9173e32dc27110168b165c1fe (patch)
treec78dbe24e774121055411bdb52830fcd105a1c0d /lldb/include
parent6991d5728f12594cabfd8d8d570361efb07f1d5a (diff)
downloadbcm5719-llvm-b1fb07ddbaa539f9173e32dc27110168b165c1fe.tar.gz
bcm5719-llvm-b1fb07ddbaa539f9173e32dc27110168b165c1fe.zip
[lldb][NFC] Simplify ClangASTContext::GetTypeForDecl
Also removes the GetASTContext call from this code.
Diffstat (limited to 'lldb/include')
-rw-r--r--lldb/include/lldb/Symbol/ClangASTContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h
index 9307825675c..e9a1d536ca8 100644
--- a/lldb/include/lldb/Symbol/ClangASTContext.h
+++ b/lldb/include/lldb/Symbol/ClangASTContext.h
@@ -164,11 +164,11 @@ public:
static bool AreTypesSame(CompilerType type1, CompilerType type2,
bool ignore_qualifiers = false);
- static CompilerType GetTypeForDecl(clang::NamedDecl *decl);
+ CompilerType GetTypeForDecl(clang::NamedDecl *decl);
- static CompilerType GetTypeForDecl(clang::TagDecl *decl);
+ CompilerType GetTypeForDecl(clang::TagDecl *decl);
- static CompilerType GetTypeForDecl(clang::ObjCInterfaceDecl *objc_decl);
+ CompilerType GetTypeForDecl(clang::ObjCInterfaceDecl *objc_decl);
template <typename RecordDeclType>
CompilerType
OpenPOWER on IntegriCloud