[clang] [OpenACC] Implement AST for OpenACC Compute Constructs (PR #81188)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 06:53:52 PST 2024


================
@@ -2145,7 +2145,11 @@ enum CXCursorKind {
    */
   CXCursor_OMPScopeDirective = 306,
 
-  CXCursor_LastStmt = CXCursor_OMPScopeDirective,
+  /** OpenACC Compute Construct.
+   */
+  CXCursor_OpenACCComputeConstruct = 307,
----------------
erichkeane wrote:

Thats a good idea, and I think 320 gives me plenty of room before we start getting into the 350 of 'translation unit'.  There are currently 20 'construct' types for OpenACC, though I am likely to merge a couple of them (as I am merging 3 different ones in this patch).  Patch incoming.

https://github.com/llvm/llvm-project/pull/81188


More information about the cfe-commits mailing list