summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Symbol/TestClangASTImporter.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-17 16:00:51 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-17 16:10:34 +0100
commit268f37df6e45c4b0603bd4d964483a0d84da44c1 (patch)
tree11c24e6c9aee6c148b58494c603e33279657d0fb /lldb/unittests/Symbol/TestClangASTImporter.cpp
parentb1d8576b0a9fa1f6a1173c0b5c2f379389e01e3f (diff)
downloadbcm5719-llvm-268f37df6e45c4b0603bd4d964483a0d84da44c1.tar.gz
bcm5719-llvm-268f37df6e45c4b0603bd4d964483a0d84da44c1.zip
[lldb][NFC] Use StringRef in CreateRecordType and CreateObjCClass
Diffstat (limited to 'lldb/unittests/Symbol/TestClangASTImporter.cpp')
-rw-r--r--lldb/unittests/Symbol/TestClangASTImporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Symbol/TestClangASTImporter.cpp b/lldb/unittests/Symbol/TestClangASTImporter.cpp
index f82fa4a69e4..2a5900c8da5 100644
--- a/lldb/unittests/Symbol/TestClangASTImporter.cpp
+++ b/lldb/unittests/Symbol/TestClangASTImporter.cpp
@@ -38,7 +38,7 @@ protected:
return std::make_unique<ClangASTContext>(HostInfo::GetTargetTriple());
}
- CompilerType createRecord(ClangASTContext &ast, const char *name) {
+ CompilerType createRecord(ClangASTContext &ast, llvm::StringRef name) {
return ast.CreateRecordType(ast.getASTContext()->getTranslationUnitDecl(),
lldb::AccessType::eAccessPublic, name, 0,
lldb::LanguageType::eLanguageTypeC);
OpenPOWER on IntegriCloud