summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-28 12:24:08 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-28 12:24:41 +0100
commit9d2679152a4bbe892f72802427657bfdca85a63b (patch)
treea5a96ab9b200a2c2fe6a04d729e6f476068253ea /lldb
parentf286f2dda4d2b05b61964f5c9373f36493fbb190 (diff)
downloadbcm5719-llvm-9d2679152a4bbe892f72802427657bfdca85a63b.tar.gz
bcm5719-llvm-9d2679152a4bbe892f72802427657bfdca85a63b.zip
[lldb][NFC] Make GetAsCXXRecordDecl static
All other casting functions there are static, so this should be too.
Diffstat (limited to 'lldb')
-rw-r--r--lldb/include/lldb/Symbol/ClangASTContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h
index 20421bca305..7018f3b71b4 100644
--- a/lldb/include/lldb/Symbol/ClangASTContext.h
+++ b/lldb/include/lldb/Symbol/ClangASTContext.h
@@ -908,7 +908,8 @@ public:
static clang::TypedefNameDecl *GetAsTypedefDecl(const CompilerType &type);
- clang::CXXRecordDecl *GetAsCXXRecordDecl(lldb::opaque_compiler_type_t type);
+ static clang::CXXRecordDecl *
+ GetAsCXXRecordDecl(lldb::opaque_compiler_type_t type);
static clang::ObjCInterfaceDecl *
GetAsObjCInterfaceDecl(const CompilerType &type);
OpenPOWER on IntegriCloud