Skip to content

Commit ceb43aa

Browse files
llvm-beanzfarzonl
andauthored
Update clang/lib/Sema/SemaExpr.cpp
Co-authored-by: Farzon Lotfi <[email protected]>
1 parent 490971d commit ceb43aa

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
@@ -15947,7 +15947,7 @@ ExprResult Sema::CreateBuiltinUnaryOp(SourceLocation OpLoc,
1594715947
} else if (Context.getLangOpts().HLSL && resultType->isVectorType() &&
1594815948
!resultType->hasBooleanRepresentation()) {
1594915949
// HLSL unary logical not behaves like C++, which states that the
15950-
// operand is onverted to bool and the result is bool, however HLSL
15950+
// 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>();
1595315953
resultType =

0 commit comments

Comments
 (0)