[clang] [Clang] [CUDA] Support ADL kernel launches (PR #240947)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 18 11:55:10 PST 2026


================
@@ -650,9 +650,10 @@ ExprResult Parser::tryParseCXXIdExpression(CXXScopeSpec &SS,
     if (isAddressOfOperand && isPostfixExpressionSuffixStart())
       isAddressOfOperand = false;
 
-    E = Actions.ActOnIdExpression(
-        getCurScope(), SS, TemplateKWLoc, Name, Tok.is(tok::l_paren),
-        isAddressOfOperand, /*CCC=*/nullptr, /*IsInlineAsmIdentifier=*/false);
+    E = Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name,
+                                  Tok.isOneOf(tok::l_paren, tok::lesslessless),
+                                  isAddressOfOperand, /*CCC=*/nullptr,
----------------
shafik wrote:

So `CCC` is not really a useful name, can we give this parameter something more readable?

https://github.com/llvm/llvm-project/pull/240947


More information about the cfe-commits mailing list