[Lldb-commits] [lldb] Summarize std::string's when created from data. (PR #89110)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Thu May 23 12:19:18 PDT 2024


================
@@ -2763,10 +2763,10 @@ ValueObjectSP ValueObject::Cast(const CompilerType &compiler_type) {
   ExecutionContextScope *exe_scope
       = ExecutionContext(GetExecutionContextRef())
           .GetBestExecutionContextScope();
-  if (compiler_type.GetByteSize(exe_scope)
-      <= GetCompilerType().GetByteSize(exe_scope) 
-      || m_value.GetValueType() == Value::ValueType::LoadAddress)
-        return DoCast(compiler_type);
+  if (compiler_type.GetByteSize(exe_scope) <=
----------------
Jlalond wrote:

Hmm, yeah I ran `git-clang-format` against this. 
Specifically, `git fetch upstream; git-clang-format upstream/main` and it produced this. I'll manually revert this one

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


More information about the lldb-commits mailing list