diff --git a/tools/clang/lib/CodeGen/CGHLSLMS.cpp b/tools/clang/lib/CodeGen/CGHLSLMS.cpp index 91d5c86dce..e5819d6436 100644 --- a/tools/clang/lib/CodeGen/CGHLSLMS.cpp +++ b/tools/clang/lib/CodeGen/CGHLSLMS.cpp @@ -815,8 +815,7 @@ void CGMSHLSLRuntime::ConstructFieldAttributedAnnotation( dyn_cast(type->getCanonicalTypeInternal())) fieldAnnotation.SetCompType(BuiltinTyToCompTy(BTy, bSNorm, bUNorm)); } else { - DXASSERT(!bSNorm && !bUNorm, - "snorm/unorm on invalid type, validate at handleHLSLTypeAttr"); + DXASSERT(!bSNorm && !bUNorm, "snorm/unorm on invalid type, validate at handleHLSLTypeAttr"); } } @@ -832,8 +831,7 @@ static void ConstructFieldInterpolation(DxilFieldAnnotation &fieldAnnotation, fieldAnnotation.SetInterpolationMode(InterpMode); } -static unsigned AlignBaseOffset(unsigned baseOffset, unsigned size, QualType Ty, - bool bDefaultRowMajor) { +static unsigned AlignBaseOffset(unsigned baseOffset, unsigned size, QualType Ty, bool bDefaultRowMajor) { // Do not align if resource, since resource isn't really here. if (IsHLSLResourceType(Ty)) return baseOffset;