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

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 06:45:26 PST 2024


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

I would suggest to save some constant number for future OpenMP nodes. How about start it from, say, 320 for OpenACC nodes? Just to avoid mixing of OpenMP and OpenACC nodes

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


More information about the cfe-commits mailing list