================ @@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) ---------------- Michael137 wrote:
Lets add a comment ```suggestion // There is something between the basename and the start of the function arguments. // Assume those are template arguments (which *should* be true for C++ demangled names, but // this assumption may change in the future, in which case this needs to be adjusted). if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) ``` https://github.com/llvm/llvm-project/pull/150999 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits