[Lldb-commits] [lldb] [lldb] Parse and display register field enums	(PR #95768)
    Med Ismail Bennani via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu Jun 20 15:11:48 PDT 2024
    
    
  
================
@@ -43,8 +43,7 @@ CompilerType RegisterTypeBuilderClang::GetRegisterType(
       ScratchTypeSystemClang::GetForTarget(m_target);
   assert(type_system);
 
-  std::string register_type_name = "__lldb_register_fields_";
-  register_type_name += name;
+  std::string register_type_name = "__lldb_register_fields_" + name;
----------------
medismailben wrote:
Yeah, I was thinking making a `Twine` then building a `std::string` out of it. Nvm
https://github.com/llvm/llvm-project/pull/95768
    
    
More information about the lldb-commits
mailing list