-
Notifications
You must be signed in to change notification settings - Fork 471
use reserved spelling for inline assembly #334
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
@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.
please use __asm__ __volatile__
if you're doing this then, because it's weird to only do half.
Use the reserved spelling for `asm` as it is a non-standard compiler extension. Rather than trying to enumerate the user label prefix on the various targets, rely on the compiler. The GNU compilers define `__USER_LABEL_PREFIX__` to "_" as appropriate. In the case that you are using a non-GNU compiler, it is possible to specify the macro according to your target. This simplifies and unifies the code.
98cafa0
to
40a19da
Compare
@MadCoder updated to use |
@swift-ci please test |
Use the reserved spelling for `typeof` as it is a non-standard compiler extension. NFC.
Actually, let me merge in the reserved spelling for |
this is fine :) |
@swift-ci please test |
@MadCoder anything else for this change or good to merge? |
use reserved spelling for inline assembly Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Use the reserved spelling for
asm
as it is a non-standard compilerextension. NFC.