[PATCH] D20009: Refactor and cleanup Assembly Parsing / Lexing
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 18:47:12 PDT 2016
niravd created this revision.
niravd added reviewers: rtrieu, dwmw2.
niravd added a subscriber: llvm-commits.
Add explicit Comment Token in Assembly Lexing for future support for
outputing explicit comments from inline assembly. As part of this,
CPPHash Directives are now explicitly distinguished from Hash line
comments in Lexer. As part of this remove all lexing tasks out of the
parser. For now, the parser silently
Also minor cleanups to remove extraneous newlines Asm Output and some
improvements white space handling.
http://reviews.llvm.org/D20009
Files:
include/llvm/MC/MCParser/AsmLexer.h
include/llvm/MC/MCParser/MCAsmLexer.h
lib/MC/MCParser/AsmLexer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20009.56378.patch
Type: text/x-patch
Size: 21741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160506/d5f80c21/attachment.bin>
More information about the llvm-commits
mailing list