[rbi] Use interned StringRefs for diagnostics instead of SmallString<64>.

This makes the code easier to write and also prevents any lifetime issues from a
diagnostic outliving the SmallString due to diagnostic transactions.
This commit is contained in:
Michael Gottesman
2025-07-02 16:11:43 -07:00
parent 14634b6847
commit 010fa39f31
5 changed files with 180 additions and 268 deletions

View File

@@ -230,7 +230,7 @@ public:
private:
bool isOperatorSlow() const;
};
class DeclName;
class DeclNameRef;
class ObjCSelector;