diff options
| author | erichkeane <ekeane@nvidia.com> | 2025-03-03 10:26:53 -0800 |
|---|---|---|
| committer | erichkeane <ekeane@nvidia.com> | 2025-03-03 13:57:23 -0800 |
| commit | d5cec386c14ac46ee252da29f5bd766db0adb6d0 (patch) | |
| tree | f0bbeafbdc203d14cfa33bfd3c499e752b0e5ba2 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | d6599fc3b9e1cf1659999e8a755ae1d68bc3b4b3 (diff) | |
[OpenACC] Implement 'cache' construct AST/Sema
This statement level construct takes no clauses and has no associated
statement, and simply labels a number of array elements as valid for
caching. The implementation here is pretty simple, but it is a touch of
a special case for parsing, so the parsing code reflects that.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 7c0d6c368559..018fc66b72a1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4192,6 +4192,10 @@ public: // some sort of IR. EmitStmt(S.getAssociatedStmt()); } + void EmitOpenACCCacheConstruct(const OpenACCCacheConstruct &S) { + // TODO OpenACC: Implement this. It is currently implemented as a 'no-op', + // but in the future we will implement some sort of IR. + } //===--------------------------------------------------------------------===// // LValue Expression Emission |
