diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 16:00:51 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 16:10:34 +0100 |
| commit | 268f37df6e45c4b0603bd4d964483a0d84da44c1 (patch) | |
| tree | 11c24e6c9aee6c148b58494c603e33279657d0fb /lldb/include | |
| parent | b1d8576b0a9fa1f6a1173c0b5c2f379389e01e3f (diff) | |
| download | bcm5719-llvm-268f37df6e45c4b0603bd4d964483a0d84da44c1.tar.gz bcm5719-llvm-268f37df6e45c4b0603bd4d964483a0d84da44c1.zip | |
[lldb][NFC] Use StringRef in CreateRecordType and CreateObjCClass
Diffstat (limited to 'lldb/include')
| -rw-r--r-- | lldb/include/lldb/Symbol/ClangASTContext.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h index 9c37b94219f..6cebd6f3b62 100644 --- a/lldb/include/lldb/Symbol/ClangASTContext.h +++ b/lldb/include/lldb/Symbol/ClangASTContext.h @@ -263,8 +263,9 @@ public: bool omit_empty_base_classes); CompilerType CreateRecordType(clang::DeclContext *decl_ctx, - lldb::AccessType access_type, const char *name, - int kind, lldb::LanguageType language, + lldb::AccessType access_type, + llvm::StringRef name, int kind, + lldb::LanguageType language, ClangASTMetadata *metadata = nullptr, bool exports_symbols = false); @@ -322,8 +323,9 @@ public: static bool RecordHasFields(const clang::RecordDecl *record_decl); - CompilerType CreateObjCClass(const char *name, clang::DeclContext *decl_ctx, - bool isForwardDecl, bool isInternal, + CompilerType CreateObjCClass(llvm::StringRef name, + clang::DeclContext *decl_ctx, bool isForwardDecl, + bool isInternal, ClangASTMetadata *metadata = nullptr); bool SetTagTypeKind(clang::QualType type, int kind) const; |

