Skip to content

Commit 7b77301

Browse files
authored
[clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / && mixup ? (#93093)
Fixes #93002
1 parent eb88e7c commit 7b77301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaOpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7402,7 +7402,7 @@ void SemaOpenMP::ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope(
74027402

74037403
// Template specialization is an extension, check if we do it.
74047404
bool IsTemplated = !TemplateParamLists.empty();
7405-
if (IsTemplated &
7405+
if (IsTemplated &&
74067406
!DVScope.TI->isExtensionActive(
74077407
llvm::omp::TraitProperty::implementation_extension_allow_templates))
74087408
return;

0 commit comments

Comments
 (0)