[Openmp-commits] [openmp] 2fbce37 - [OpenMP][Tests][NFC] rename macro to avoid naming clash

Joachim Protze via Openmp-commits openmp-commits at lists.llvm.org
Wed Feb 24 09:47:06 PST 2021


Author: Joachim Protze
Date: 2021-02-24T18:46:56+01:00
New Revision: 2fbce374c8fb6f847bf6f4f023fe753989f49aa1

URL: https://github.com/llvm/llvm-project/commit/2fbce374c8fb6f847bf6f4f023fe753989f49aa1
DIFF: https://github.com/llvm/llvm-project/commit/2fbce374c8fb6f847bf6f4f023fe753989f49aa1.diff

LOG: [OpenMP][Tests][NFC] rename macro to avoid naming clash

Rename a macro use missed in e0f3acc5d34aa

Added: 
    

Modified: 
    openmp/tools/multiplex/tests/custom_data_storage/first-tool.h

Removed: 
    


################################################################################
diff  --git a/openmp/tools/multiplex/tests/custom_data_storage/first-tool.h b/openmp/tools/multiplex/tests/custom_data_storage/first-tool.h
index 7a0bbed57225..91cb34e233ab 100644
--- a/openmp/tools/multiplex/tests/custom_data_storage/first-tool.h
+++ b/openmp/tools/multiplex/tests/custom_data_storage/first-tool.h
@@ -247,7 +247,7 @@ ompt_data_t *ompt_get_own_thread_data() {
       printf("0: Could not register callback '" #name "'\n");                  \
   } while (0)
 
-#define register_ompt_callback2(name) register_callback2_t(name, name##_t)
+#define register_ompt_callback2(name) register_ompt_callback2_t(name, name##_t)
 
 int ompt_cds_initialize(ompt_function_lookup_t lookup, int initial_device_num,
                         ompt_data_t *tool_data) {


        


More information about the Openmp-commits mailing list