summaryrefslogtreecommitdiff
path: root/clang/include/clang-c
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/include/clang-c
parent56c5a6ba836065a6e3be9d04e2c64aa8a758a3f4 (diff)
[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/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 3f95f1db2fbe..63d266dc60ec 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2202,7 +2202,11 @@ enum CXCursorKind {
*/
CXCursor_OpenACCSetConstruct = 330,
- CXCursor_LastStmt = CXCursor_OpenACCSetConstruct,
+ /** OpenACC update Construct.
+ */
+ CXCursor_OpenACCUpdateConstruct = 331,
+
+ CXCursor_LastStmt = CXCursor_OpenACCUpdateConstruct,
/**
* Cursor that represents the translation unit itself.