@@ -1224,7 +1224,7 @@ std::optional<LValue> CGHLSLRuntime::emitResourceArraySubscriptExpr(
12241224 // Find binding info for the resource array. For implicit binding
12251225 // an HLSLResourceBindingAttr should have been added by SemaHLSL.
12261226 ResourceBindingAttrs Binding (ArrayDecl);
1227- assert (( Binding.hasBinding () ) &&
1227+ assert (Binding.hasBinding () &&
12281228 " resource array must have a binding attribute" );
12291229
12301230 // Find the individual resource type.
@@ -1286,7 +1286,7 @@ std::optional<LValue> CGHLSLRuntime::emitResourceArraySubscriptExpr(
12861286bool CGHLSLRuntime::emitResourceArrayCopy (LValue &LHS, Expr *RHSExpr,
12871287 CodeGenFunction &CGF) {
12881288 QualType ResultTy = RHSExpr->getType ();
1289- assert (( ResultTy->isHLSLResourceRecordArray () ) && " expected resource array" );
1289+ assert (ResultTy->isHLSLResourceRecordArray () && " expected resource array" );
12901290
12911291 // Let Clang codegen handle local and static resource array copies.
12921292 const VarDecl *ArrayDecl = dyn_cast_or_null<VarDecl>(getArrayDecl (RHSExpr));
@@ -1297,7 +1297,7 @@ bool CGHLSLRuntime::emitResourceArrayCopy(LValue &LHS, Expr *RHSExpr,
12971297 // Find binding info for the resource array. For implicit binding
12981298 // the HLSLResourceBindingAttr should have been added by SemaHLSL.
12991299 ResourceBindingAttrs Binding (ArrayDecl);
1300- assert (( Binding.hasBinding () ) &&
1300+ assert (Binding.hasBinding () &&
13011301 " resource array must have a binding attribute" );
13021302
13031303 // Find the individual resource type.
0 commit comments