Skip to content

Commit 8c477dd

Browse files
Update clang/lib/Sema/SemaExpr.cpp
Co-authored-by: Erich Keane <[email protected]>
1 parent ceb43aa commit 8c477dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15946,7 +15946,7 @@ ExprResult Sema::CreateBuiltinUnaryOp(SourceLocation OpLoc,
1594615946
}
1594715947
} else if (Context.getLangOpts().HLSL && resultType->isVectorType() &&
1594815948
!resultType->hasBooleanRepresentation()) {
15949-
// HLSL unary logical not behaves like C++, which states that the
15949+
// HLSL unary logical 'not' behaves like C++, which states that the
1595015950
// operand is converted to bool and the result is bool, however HLSL
1595115951
// extends this property to vectors.
1595215952
const VectorType *VTy = resultType->castAs<VectorType>();

0 commit comments

Comments
 (0)