[Openmp-commits] [openmp] 16fe1b6 - [OpenMP][OMPT] Fix warning : extra tokens at end of #endif directive (#216279)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 14 02:03:47 PDT 2026


Author: Amilendra Kodithuwakku
Date: 2026-08-14T09:03:41Z
New Revision: 16fe1b642d3b8e8c5a7ba3c55965434f4d31da0f

URL: https://github.com/llvm/llvm-project/commit/16fe1b642d3b8e8c5a7ba3c55965434f4d31da0f
DIFF: https://github.com/llvm/llvm-project/commit/16fe1b642d3b8e8c5a7ba3c55965434f4d31da0f.diff

LOG: [OpenMP][OMPT] Fix warning : extra tokens at end of #endif directive (#216279)

Added: 
    

Modified: 
    openmp/runtime/src/include/omp-tools.h.var
    openmp/runtime/src/include/omp.h.var

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/include/omp-tools.h.var b/openmp/runtime/src/include/omp-tools.h.var
index 88031930a279a..3f1ff5997a0ac 100644
--- a/openmp/runtime/src/include/omp-tools.h.var
+++ b/openmp/runtime/src/include/omp-tools.h.var
@@ -318,7 +318,7 @@ typedef enum omp_control_tool_t {
   omp_control_tool_flush              = 3,
   omp_control_tool_end                = 4
 } omp_control_tool_t;
-#endif OMPCONTROLENUM
+#endif /* OMPCONTROLENUM */
 
 typedef enum ompt_thread_t {
   ompt_thread_initial                 = 1,

diff  --git a/openmp/runtime/src/include/omp.h.var b/openmp/runtime/src/include/omp.h.var
index f568a952350c8..edea72235f8e4 100644
--- a/openmp/runtime/src/include/omp.h.var
+++ b/openmp/runtime/src/include/omp.h.var
@@ -328,7 +328,7 @@
         omp_control_tool_flush = 3,
         omp_control_tool_end = 4
     } omp_control_tool_t;
-#endif OMPCONTROLENUM
+#endif /* OMPCONTROLENUM */
 
     extern int __KAI_KMPC_CONVENTION omp_control_tool(int, int, void*);
 


        


More information about the Openmp-commits mailing list