[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 30 09:33:28 PDT 2025
================
@@ -59,6 +73,18 @@ struct DemangledNameInfo {
/// \endcode
std::pair<size_t, size_t> QualifiersRange;
+ /// Indicates the [start, end) of the function's name qualifiers. This is a
+ /// catch-all range for anything in between the basename and the arguments,
+ /// that is not tracked by the rest of the pairs.
+ ///
+ /// E.g.,
+ /// \code{.swift}
+ /// void foo::bar<int>::qux<float>(int) const &&
+ /// ^ ^
+ /// start end
+ /// \endcode
----------------
Michael137 wrote:
This example makes it seem there is no difference to `QualifiersRange` here.
> between the basename and the arguments
function arguments or template arguments?
https://github.com/llvm/llvm-project/pull/150999
More information about the lldb-commits
mailing list