[Lldb-commits] [lldb] [lldb] upgrade HandleFrameFormatVariable callees to llvm::Expected (PR #144731)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 23 07:34:30 PDT 2025


================
@@ -74,24 +74,48 @@ struct DemangledNameInfo {
     return BasenameRange.second > BasenameRange.first;
   }
 
+  /// Returns \c true if `BasenameRange` is empty.
+  bool isBasenameEmpty() const {
+    return BasenameRange.first == BasenameRange.second;
----------------
charles-zablit wrote:

Switched to `>` instead of `>=` for `hasBasename`. This "fixed" the tests that I originally broke 👍 

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


More information about the lldb-commits mailing list