mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 08:00:27 +00:00
Make TokenKind's API closer to toolchain's typical API setup. (#2456)
This is somewhat based on the name vs Name difference, but I figured I'd split it out and just sweep up the API on the whole while looking at a different approach to #2453
This commit is contained in:
1 parent
0ef7fa3a1d
commit
d42d864e82
9 files changed
+116
-115
No files matched your search
@@ -345,7 +345,7 @@ auto SemanticsParseTreeHandler::HandleInfixOperator(ParseTree::Node parse_node)
|
||||
parse_node, result_type, lhs_id, rhs_id));
|
||||
break;
|
||||
default:
|
||||
CARBON_FATAL() << "Unrecognized token kind: " << token_kind.Name();
|
||||
CARBON_FATAL() << "Unrecognized token kind: " << token_kind.name();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,7 +387,7 @@ auto SemanticsParseTreeHandler::HandleLiteral(ParseTree::Node parse_node)
|
||||
break;
|
||||
}
|
||||
default:
|
||||
CARBON_FATAL() << "Unhandled kind: " << token_kind.Name();
|
||||
CARBON_FATAL() << "Unhandled kind: " << token_kind.name();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user