From ab15b11c41fbffc2d95dfd5ddfa5feb3cace2109 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Wed, 2 Aug 2023 10:27:24 -0400 Subject: [PATCH] [NFC][OMPT] Move `pop_macro` to the right place to fix compile warnings --- openmp/libomptarget/include/OmptCallback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmp/libomptarget/include/OmptCallback.h b/openmp/libomptarget/include/OmptCallback.h index 79d6bf8b0daf..ca4e73670dae 100644 --- a/openmp/libomptarget/include/OmptCallback.h +++ b/openmp/libomptarget/include/OmptCallback.h @@ -96,10 +96,10 @@ extern bool Initialized; } // namespace omp } // namespace llvm +#pragma pop_macro("DEBUG_PREFIX") + #else #define performIfOmptInitialized(stmt) #endif // OMPT_SUPPORT -#pragma pop_macro("DEBUG_PREFIX") - #endif // _OMPTCALLBACK_H