Author: Raphael Isemann Date: 2019-11-28T12:24:41+01:00 New Revision: 9d2679152a4bbe892f72802427657bfdca85a63b
URL: https://github.com/llvm/llvm-project/commit/9d2679152a4bbe892f72802427657bfdca85a63b DIFF: https://github.com/llvm/llvm-project/commit/9d2679152a4bbe892f72802427657bfdca85a63b.diff LOG: [lldb][NFC] Make GetAsCXXRecordDecl static All other casting functions there are static, so this should be too. Added: Modified: lldb/include/lldb/Symbol/ClangASTContext.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h index 20421bca305e..7018f3b71b4f 100644 --- a/lldb/include/lldb/Symbol/ClangASTContext.h +++ b/lldb/include/lldb/Symbol/ClangASTContext.h @@ -908,7 +908,8 @@ class ClangASTContext : public TypeSystem { 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); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits