-
Notifications
You must be signed in to change notification settings - Fork 341
TypeSystem: Avoid the ISO646 spelling of the logical operators #2001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Avoid the use of the ISO646 logical operator spelling. This enables the removal of the use of the `ciso646` header which can cause some issues when building Swift.
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😳
@@ -401,9 +401,9 @@ template <> struct less<swift::ClusteredBitVector> { | |||
for (; iL >= 0 && iR >= 0; --iL, --iR) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this even exist? Are we putting them into a std::map?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't answer that - I don't know why it exists, Im just trying to avoid extension usage. We could try removing it separately I suppose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was more a question for the room — I know you're just the messenger :-)
@@ -401,9 +401,9 @@ template <> struct less<swift::ClusteredBitVector> { | |||
for (; iL >= 0 && iR >= 0; --iL, --iR) { | |||
bool bL = lhs[iL]; | |||
bool bR = rhs[iR]; | |||
if (bL and not bR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it were my choice, we should switch everything to use not
instead of !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this relate to removing the use of ciso646
?
The spelling here requires the use of |
Avoid the use of the ISO646 logical operator spelling. This enables the removal of the use of the
ciso646
header which can cause some issues when building Swift.