[Lldb-commits] [lldb] 856ebe9 - Retrieve as StringRef since that's how it'll be used
David Blaikie via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 7 13:13:44 PDT 2022
Author: David Blaikie
Date: 2022-07-07T20:13:36Z
New Revision: 856ebe9e8247698095a66f98647ee5d7cb12f337
URL: https://github.com/llvm/llvm-project/commit/856ebe9e8247698095a66f98647ee5d7cb12f337
DIFF: https://github.com/llvm/llvm-project/commit/856ebe9e8247698095a66f98647ee5d7cb12f337.diff
LOG: Retrieve as StringRef since that's how it'll be used
Added:
Modified:
lldb/source/Core/Module.cpp
Removed:
################################################################################
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index c05b40c4362e..43d1cdb5bd38 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -1016,7 +1016,7 @@ void Module::FindTypes(
FindTypes_Impl(name, CompilerDeclContext(), UINT_MAX,
searched_symbol_files, typesmap);
if (exact_match) {
- typesmap.RemoveMismatchedTypes(type_scope, name.AsCString(""),
+ typesmap.RemoveMismatchedTypes(type_scope, name.GetStringRef(),
type_class, exact_match);
}
}
More information about the lldb-commits
mailing list