mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -230,7 +230,7 @@ public:
|
||||
private:
|
||||
bool isOperatorSlow() const;
|
||||
};
|
||||
|
||||
|
||||
class DeclName;
|
||||
class DeclNameRef;
|
||||
class ObjCSelector;
|
||||
|
||||
Reference in New Issue
Block a user