================
@@ -492,12 +494,37 @@ class Type : public std::enable_shared_from_this<Type>,
public UserID {
static int Compare(const Type &a, const Type &b);
+ // Represents a parsed type name coming out of GetTypeScopeAndBasename. The
+ // structure holds StringRefs pointing to portions of the original name, and
+ // so most not be used after the name is destroyed.
----------------
Michael137 wrote:
```suggestion
// so must not be used after the name is destroyed.
```
https://github.com/llvm/llvm-project/pull/91586
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits