mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:24:46 +01:00
Accessor renames on parser (#1135)
This commit is contained in:
@@ -52,7 +52,7 @@ class ParseNodeKind {
|
||||
}
|
||||
|
||||
// Gets a friendly name for the token for logging or debugging.
|
||||
[[nodiscard]] auto GetName() const -> llvm::StringRef;
|
||||
[[nodiscard]] auto name() const -> llvm::StringRef;
|
||||
|
||||
// Enable conversion to our private enum, including in a `constexpr` context,
|
||||
// to enable usage in `switch` and `case`. The enum remains private and
|
||||
|
||||
Reference in New Issue
Block a user