Skip to content

Commit e0809bd

Browse files
committed
Fix Wparentheses warning. NFC.
1 parent 7bbfd2a commit e0809bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10457,10 +10457,10 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC,
1045710457
TemplateSpecializationType::
1045810458
anyInstantiationDependentTemplateArguments(
1045910459
TemplateArgs.arguments()));
10460-
assert(!isDependentSpecialization ||
10461-
(HasExplicitTemplateArgs == isDependentSpecialization) &&
10462-
"dependent friend function specialization without template "
10463-
"args");
10460+
assert((!isDependentSpecialization ||
10461+
(HasExplicitTemplateArgs == isDependentSpecialization)) &&
10462+
"dependent friend function specialization without template "
10463+
"args");
1046410464
} else {
1046510465
// For class-scope explicit specializations of function templates,
1046610466
// if the lexical context is dependent, then the specialization

0 commit comments

Comments
 (0)