]> granicus.if.org Git - clang/commit
(clang part) Implement MASM-flavor intel syntax behavior for inline MS asm block.
authorYunzhong Gao <Yunzhong.Gao@sony.com>
Fri, 2 Sep 2016 23:16:06 +0000 (23:16 +0000)
committerYunzhong Gao <Yunzhong.Gao@sony.com>
Fri, 2 Sep 2016 23:16:06 +0000 (23:16 +0000)
commit27be2631ce8e197ef5554a0791106297d476dd85
treed9eb21b485a1e3aa9d60f0e6f18ff1bfdc902eac
parent567da71b9bac96d6e87854f330139710fa2653a7
(clang part) Implement MASM-flavor intel syntax behavior for inline MS asm block.
Clang tests for verifying the following syntaxes:
1. 0xNN and NNh are accepted as valid hexadecimal numbers, but 0xNNh is not.
   0xNN and NNh may come with optional U or L suffix.
2. NNb is accepted as a valid binary (base-2) number, but 0bNN is not.
   NNb may come with optional U or L suffix.

Differential Revision: https://reviews.llvm.org/D22112

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280556 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ms-inline-asm.c
test/CodeGenCXX/ms-inline-asm-return.cpp
test/Parser/ms-inline-asm.c