[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 29 05:06:14 PDT 2025


================
@@ -30,6 +30,16 @@ struct DemangledNameInfo {
   /// \endcode
   std::pair<size_t, size_t> BasenameRange;
 
+  /// A [start, end) pair for the function template arguments.
+  /// The basename is the name without scope qualifiers
+  /// and without template parameters. E.g.,
+  /// \code{.cpp}
+  ///    void foo::bar<int>::someFunc<float>(int) const &&
+  ///                                ^     ^
+  ///                              start  end
+  /// \endcode
+  std::pair<size_t, size_t> TemplateRange;
----------------
Michael137 wrote:

```suggestion
  std::pair<size_t, size_t> TemplateArgumentsRange;
```

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


More information about the lldb-commits mailing list