summaryrefslogtreecommitdiff
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorerichkeane <ekeane@nvidia.com>2025-01-03 10:00:12 -0800
committererichkeane <ekeane@nvidia.com>2025-01-06 11:03:18 -0800
commit21c785d7bd84df0b9176d48e7c3e74c914aae05a (patch)
tree373dfe7be6f1e62f067913eab16c7c20bbdf9d13 /clang/include/clang-c
parent3f936251d280d039d0a227247afd6884163e8a9a (diff)
[OpenACC] Implement 'set' construct sema
The 'set' construct is another fairly simple one, it doesn't have an associated statement and only a handful of allowed clauses. This patch implements it and all the rules for it, allowing 3 of its for clauses. The only exception is default_async, which will be implemented in a future patch, because it isn't just being enabled, it needs a complete new implementation.
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 dfc562da88af..3f95f1db2fbe 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2198,7 +2198,11 @@ enum CXCursorKind {
*/
CXCursor_OpenACCShutdownConstruct = 329,
- CXCursor_LastStmt = CXCursor_OpenACCShutdownConstruct,
+ /** OpenACC set Construct.
+ */
+ CXCursor_OpenACCSetConstruct = 330,
+
+ CXCursor_LastStmt = CXCursor_OpenACCSetConstruct,
/**
* Cursor that represents the translation unit itself.