Skip to content

Commit d5000e9

Browse files
committed
rename to 'try' isntead of 'Try'x
1 parent d835d6f commit d5000e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Parse/ParseOpenACC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ bool isTokenIdentifierOrKeyword(Parser &P, Token Tok) {
183183
/// Return 'true' if the special token was matched, false if no special token,
184184
/// or an invalid special token was found.
185185
template <typename DirOrClauseTy>
186-
bool TryParseAndConsumeSpecialTokenKind(Parser &P, OpenACCSpecialTokenKind Kind,
186+
bool tryParseAndConsumeSpecialTokenKind(Parser &P, OpenACCSpecialTokenKind Kind,
187187
DirOrClauseTy DirOrClause) {
188188
Token IdentTok = P.getCurToken();
189189
// If this is an identifier-like thing followed by ':', it is one of the
@@ -713,7 +713,7 @@ void Parser::ParseOpenACCCacheVarList() {
713713
// The VarList is an optional `readonly:` followed by a list of a variable
714714
// specifications. Consume something that looks like a 'tag', and diagnose if
715715
// it isn't 'readonly'.
716-
if (TryParseAndConsumeSpecialTokenKind(*this,
716+
if (tryParseAndConsumeSpecialTokenKind(*this,
717717
OpenACCSpecialTokenKind::ReadOnly,
718718
OpenACCDirectiveKind::Cache)) {
719719
// FIXME: Record that this is a 'readonly' so that we can use that during

0 commit comments

Comments
 (0)