Accessor renames on parser (#1135)

This commit is contained in:
Jon Meow authored and GitHub committed 2022-03-15 13:24:15 -07:00
1 parent 16c6ba6bd1
commit afeb78d067
10 files changed
+121 -122

No files matched your search

+1 -1
View File
@@ -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