================
@@ -845,6 +846,14 @@ class ASTNodeTraverser
}
}
+ void
+ VisitUnresolvedSYCLKernelCallStmt(const UnresolvedSYCLKernelCallStmt *Node) {
+ Visit(Node->getOriginalStmt());
+ if (Traversal != TK_IgnoreUnlessSpelledInSource) {
+ Visit(Node->getKernelLaunchIdExpr());
+ }
----------------
Fznamznon wrote:
style nit
```suggestion
if (Traversal != TK_IgnoreUnlessSpelledInSource)
Visit(Node->getKernelLaunchIdExpr());
```
https://github.com/llvm/llvm-project/pull/185531
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits