Skip to content

Commit

Permalink
rename to 'try' isntead of 'Try'x
Browse files Browse the repository at this point in the history
  • Loading branch information
erichkeane committed Jan 16, 2024
1 parent d835d6f commit d5000e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/Parse/ParseOpenACC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool isTokenIdentifierOrKeyword(Parser &P, Token Tok) {
/// Return 'true' if the special token was matched, false if no special token,
/// or an invalid special token was found.
template <typename DirOrClauseTy>
bool TryParseAndConsumeSpecialTokenKind(Parser &P, OpenACCSpecialTokenKind Kind,
bool tryParseAndConsumeSpecialTokenKind(Parser &P, OpenACCSpecialTokenKind Kind,
DirOrClauseTy DirOrClause) {
Token IdentTok = P.getCurToken();
// If this is an identifier-like thing followed by ':', it is one of the
Expand Down Expand Up @@ -713,7 +713,7 @@ void Parser::ParseOpenACCCacheVarList() {
// The VarList is an optional `readonly:` followed by a list of a variable
// specifications. Consume something that looks like a 'tag', and diagnose if
// it isn't 'readonly'.
if (TryParseAndConsumeSpecialTokenKind(*this,
if (tryParseAndConsumeSpecialTokenKind(*this,
OpenACCSpecialTokenKind::ReadOnly,
OpenACCDirectiveKind::Cache)) {
// FIXME: Record that this is a 'readonly' so that we can use that during
Expand Down

0 comments on commit d5000e9

Please sign in to comment.