We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ddce4 commit e3d7080Copy full SHA for e3d7080
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -773,10 +773,10 @@ static void instantiateDependentHLSLParamModifierAttr(
773
if (OldParmTy->isDependentType() && Attr->isAnyOut())
774
NewParm->setType(S.HLSL().getInoutParameterType(NewParm->getType()));
775
776
- assert(!Attr->isAnyOut() || (NewParm->getType().isRestrictQualified() &&
777
- NewParm->getType()->isReferenceType()) &&
778
- "out or inout parameter type must be a "
779
- "reference and restrict qualified");
+ assert(
+ (!Attr->isAnyOut() || (NewParm->getType().isRestrictQualified() &&
+ NewParm->getType()->isReferenceType())) &&
+ "out or inout parameter type must be a reference and restrict qualified");
780
}
781
782
void Sema::InstantiateAttrsForDecl(
0 commit comments