[Lldb-commits] [lldb] [lldb/DWARF] Fix type definition search with simple template names (PR #95905)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 18 04:36:41 PDT 2024


================
@@ -838,16 +838,16 @@ DWARFASTParserClang::ParseTypeModifier(const SymbolContext &sc,
   return type_sp;
 }
 
-ConstString
+std::string
 DWARFASTParserClang::GetDIEClassTemplateParams(const DWARFDIE &die) {
   if (llvm::StringRef(die.GetName()).contains("<"))
-    return ConstString();
+    return "";
----------------
Michael137 wrote:

Very small nit, but `return {};` might do slightly less work here? (most likely doesn't matter)

https://github.com/llvm/llvm-project/pull/95905


More information about the lldb-commits mailing list