diff options
| author | erichkeane <ekeane@nvidia.com> | 2024-12-19 06:11:36 -0800 |
|---|---|---|
| committer | erichkeane <ekeane@nvidia.com> | 2024-12-19 12:21:50 -0800 |
| commit | 4bbdb018a6cb564783cfb9c65ca82b81c6006bb6 (patch) | |
| tree | 8840c290fc90202041b8da04eb9dd9f665ecf064 /clang/include/clang-c | |
| parent | 10d054e95413f0e98e4aeed9dbd4605f6f03b3fa (diff) | |
[OpenACC] Implement 'init' and 'shutdown' constructs
These two constructs are very simple and similar, and only support 3
different clauses, two of which are already implemented. This patch
adds AST nodes for both constructs, and leaves the device_num clause
unimplemented, but enables the other two.
Diffstat (limited to 'clang/include/clang-c')
| -rw-r--r-- | clang/include/clang-c/Index.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 122118b8f376..dfc562da88af 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -2190,7 +2190,15 @@ enum CXCursorKind { */ CXCursor_OpenACCWaitConstruct = 327, - CXCursor_LastStmt = CXCursor_OpenACCWaitConstruct, + /** OpenACC init Construct. + */ + CXCursor_OpenACCInitConstruct = 328, + + /** OpenACC shutdown Construct. + */ + CXCursor_OpenACCShutdownConstruct = 329, + + CXCursor_LastStmt = CXCursor_OpenACCShutdownConstruct, /** * Cursor that represents the translation unit itself. |
