|
clang 24.0.0git
|
SYCLKernelCallStmtASTFragments holds portions of the AST used to resolve SYCL runtime library functions. More...
#include "clang/Sema/SemaSYCL.h"
Public Attributes | |
| Expr * | KernelLaunchIdExpr |
SYCLKernelCallStmtASTFragments holds portions of the AST used to resolve SYCL runtime library functions.
In a dependent context, these are used to construct an UnresolvedSYCLKernelCallStmt. During template instantiation, or in a non-dependent context, these are used to construct a SYCLKernelCallStmt.
Implicit calls to the SYCL runtime library may resolve to a function template, a member function template, or a call operator of a variable template depending on the results of unqualified lookup as performed at the beginning of the function body of a sycl_kernel_entry_point attributed function. Performing that lookup requires the stack of parsing scopes active when the definition is parsed. For that reason, these AST portions are constructed at the beginning of a function definition and cached in Sema::FunctionScopeInfo for later use in synthesized calls to the SYCL runtime library after the function body has been parsed.
KernelLaunchIdExpr stores an expression for the (probably unresolved) lookup of 'sycl_kernel_launch'.
Definition at line 114 of file SemaSYCL.h.
| Expr* clang::SemaSYCL::SYCLKernelCallStmtASTFragments::KernelLaunchIdExpr |
Definition at line 115 of file SemaSYCL.h.