forked from OSchip/llvm-project
Fix compiler warning when compiling without asserts
This patch aims to prevent warning-as-error failures in release build. As suggested in this comment https://reviews.llvm.org/D69930#1910922 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D75970
This commit is contained in:
parent
c480c584a0
commit
263c4a3c75
|
@ -44,7 +44,7 @@ STATISTIC(NumOpenMPRuntimeFunctionsIdentified,
|
|||
STATISTIC(NumOpenMPRuntimeFunctionUsesIdentified,
|
||||
"Number of OpenMP runtime function uses identified");
|
||||
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
#if !defined(NDEBUG)
|
||||
static constexpr auto TAG = "[" DEBUG_TYPE "]";
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue