diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-29 23:01:53 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-30 00:22:23 +0100 |
| commit | b1fb07ddbaa539f9173e32dc27110168b165c1fe (patch) | |
| tree | c78dbe24e774121055411bdb52830fcd105a1c0d /lldb/include | |
| parent | 6991d5728f12594cabfd8d8d570361efb07f1d5a (diff) | |
| download | bcm5719-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.h | 6 |
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 |

