(LLVM part) Implement MASM-flavor intel syntax behavior for inline MS asm block:
authorYunzhong Gao <Yunzhong.Gao@sony.com>
Fri, 2 Sep 2016 23:15:29 +0000 (23:15 +0000)
committerYunzhong Gao <Yunzhong.Gao@sony.com>
Fri, 2 Sep 2016 23:15:29 +0000 (23:15 +0000)
commit27ea29b3b74900be58b77eb148b61fe7f6d8d97f
tree0afe390aa690dcd3a1979db0db63912dd943335e
parentb1000c39a0cbeee76cae796e53a1eb16854e633d
(LLVM part) Implement MASM-flavor intel syntax behavior for inline MS asm block:
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: 280555
llvm/include/llvm/MC/MCParser/AsmLexer.h
llvm/lib/MC/MCParser/AsmLexer.cpp
llvm/lib/MC/MCParser/AsmParser.cpp