aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorerichkeane <ekeane@nvidia.com>2025-01-06 11:59:04 -0800
committererichkeane <ekeane@nvidia.com>2025-01-07 08:20:20 -0800
commitdb81e8c42e121e62a00587b12d2b972dfcfb98c0 (patch)
tree831171ac55852ccb502239a37d65e4fc3058d9d9 /clang/lib/CodeGen/CodeGenFunction.h
parent56c5a6ba836065a6e3be9d04e2c64aa8a758a3f4 (diff)
downloadllvm-db81e8c42e121e62a00587b12d2b972dfcfb98c0.zip
llvm-db81e8c42e121e62a00587b12d2b972dfcfb98c0.tar.gz
llvm-db81e8c42e121e62a00587b12d2b972dfcfb98c0.tar.bz2
[OpenACC] Initial sema implementation of 'update' construct
This executable construct has a larger list of clauses than some of the others, plus has some additional restrictions. This patch implements the AST node, plus the 'cannot be the body of a if, while, do, switch, or label' statement restriction. Future patches will handle the rest of the restrictions, which are based on clauses.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 0cd03c9..bc612a0 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -4142,6 +4142,11 @@ public:
// but in the future we will implement some sort of IR.
}
+ void EmitOpenACCUpdateConstruct(const OpenACCUpdateConstruct &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
//===--------------------------------------------------------------------===//