Skip to content

Commit a81d496

Browse files
authored
Merge pull request #2001 from apple/compnerd-iso646
TypeSystem: Avoid the ISO646 spelling of the logical operators
2 parents bd7991c + c82e10b commit a81d496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ template <> struct less<swift::ClusteredBitVector> {
401401
for (; iL >= 0 && iR >= 0; --iL, --iR) {
402402
bool bL = lhs[iL];
403403
bool bR = rhs[iR];
404-
if (bL and not bR)
404+
if (bL && !bR)
405405
return false;
406-
if (bR and not bL)
406+
if (bR && !bL)
407407
return true;
408408
}
409409
return false;

0 commit comments

Comments
 (0)