Static analyser cppcheck says:
clang/lib/Sema/SemaOpenMP.cpp:7297:19: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]
Source code is
bool IsTemplated = !TemplateParamLists.empty();
if (IsTemplated &
!DVScope.TI->isExtensionActive(
llvm::omp::TraitProperty::implementation_extension_allow_templates))
Perhaps
bool IsTemplated = !TemplateParamLists.empty();
if (IsTemplated &&
!DVScope.TI->isExtensionActive(
llvm::omp::TraitProperty::implementation_extension_allow_templates))
with the && was intended ?
Static analyser cppcheck says:
clang/lib/Sema/SemaOpenMP.cpp:7297:19: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]
Source code is
Perhaps
with the && was intended ?