Skip to content

Commit

Permalink
Fix Wparentheses warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Oct 9, 2023
1 parent 7bbfd2a commit e0809bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/lib/Sema/SemaDecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10457,10 +10457,10 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC,
TemplateSpecializationType::
anyInstantiationDependentTemplateArguments(
TemplateArgs.arguments()));
assert(!isDependentSpecialization ||
(HasExplicitTemplateArgs == isDependentSpecialization) &&
"dependent friend function specialization without template "
"args");
assert((!isDependentSpecialization ||
(HasExplicitTemplateArgs == isDependentSpecialization)) &&
"dependent friend function specialization without template "
"args");
} else {
// For class-scope explicit specializations of function templates,
// if the lexical context is dependent, then the specialization
Expand Down

0 comments on commit e0809bd

Please sign in to comment.