mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 09:16:37 +00:00
Accessor renames on parser (#1135)
This commit is contained in:
1 parent
16c6ba6bd1
commit
afeb78d067
10 files changed
+121
-122
No files matched your search
@@ -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