================
@@ -3775,18 +3775,12 @@ static bool isFunctionDeclarationName(const LangOptions
&LangOpts,
if (Current.is(TT_FunctionDeclarationName))
return true;
- if (!Current.Tok.getIdentifierInfo())
+ if (Current.isNoneOf(tok::identifier, tok::kw_operator))
----------------
owenca wrote:
```suggestion
if (!Current.isOneOf(tok::identifier, tok::kw_operator))
```
https://github.com/llvm/llvm-project/pull/164112
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits