(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)
commitf4903a3675a9b0c66ea3a1ddc713e2465a273745
treea4ebc80de31a30b4da2efd3ff769a25befd37d1b
parent27ea29b3b74900be58b77eb148b61fe7f6d8d97f
(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

llvm-svn: 280556
clang/test/CodeGen/ms-inline-asm.c
clang/test/CodeGenCXX/ms-inline-asm-return.cpp
clang/test/Parser/ms-inline-asm.c