Skip to content

Commit

Permalink
Fix compiler warning when compiling without asserts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rathod-sahaab authored and jdoerfert committed Mar 13, 2020
1 parent c480c58 commit 263c4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Expand Up @@ -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

Expand Down

0 comments on commit 263c4a3

Please sign in to comment.