[PATCH] D22112: Disambiguate a constant with both 0B prefix and H suffix.

Yunzhong Gao via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 16:38:07 PDT 2016


ygao added reviewers: rnk, hjl.tools.
ygao updated this revision to Diff 66593.
ygao added a comment.

Hi, I am updating the patch based on the latest feedback on PR27884.
This patch attempts to distinguish between the case of parsing MS inline asm blocks and that of parsing GNU inline asm. And in the former case, it implements the MASM-flavor intel-assembly parsing. I am adding a flag to the AsmLexer class.
There are a handful of MS inline asm test in clang that I need to modify for this patch. This review will be committed in one LLVM patch and one clang patch.


https://reviews.llvm.org/D22112

Files:
  include/llvm/MC/MCParser/AsmLexer.h
  lib/MC/MCParser/AsmLexer.cpp
  lib/MC/MCParser/AsmParser.cpp
  tools/clang/test/CodeGen/ms-inline-asm.c
  tools/clang/test/CodeGenCXX/ms-inline-asm-return.cpp
  tools/clang/test/Parser/ms-inline-asm.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22112.66593.patch
Type: text/x-patch
Size: 8756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/54cbe775/attachment-0001.bin>


More information about the llvm-commits mailing list