Accessor renames on parser (#1135)

This commit is contained in:
Jon Meow
2022-03-15 13:24:15 -07:00
committed by GitHub
parent 16c6ba6bd1
commit afeb78d067
10 changed files with 121 additions and 122 deletions
+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