================ @@ -59,10 +59,24 @@ struct DemangledNameInfo { /// \endcode std::pair<size_t, size_t> QualifiersRange; + /// Indicates the [start, end) of the function's prefix. This is a + /// catch-all range for anything that is not tracked by the rest of + /// the pairs. + std::pair<size_t, size_t> PrefixRange; + + /// Indicates the [start, end) of the function's suffix. This is a + /// catch-all range for anything that is not tracked by the rest of + /// the pairs. + std::pair<size_t, size_t> SuffixRange; + /// Returns \c true if this object holds a valid basename range. bool hasBasename() const { - return BasenameRange.second > BasenameRange.first && - BasenameRange.second > 0; + return BasenameRange.second > BasenameRange.first; ---------------- Michael137 wrote:
Can you elaborate why this was needed? https://github.com/llvm/llvm-project/pull/140762 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits