llvm/lib/MC/MCParser
Nirav Dave e0348ce1ac Refactor and cleanup Assembly Parsing / Lexing
Add explicit Comment Token in Assembly Lexing for future support for
outputting explicit comments from inline assembly. As part of this,
CPPHash Directives are now explicitly distinguished from Hash line
comments in Lexer.

Line comments are recorded as EndOfStatement tokens, not Comment tokens
to simplify compatibility with current TargetParsers. This slightly
complicates comment output.

This remove all lexing tasks out of the parser, does minor cleanup
to remove extraneous newlines Asm Output, and some improvements white
space handling.

Reviewers: rtrieu, dwmw2, rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20009

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272953 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-16 20:34:22 +00:00
..
AsmLexer.cpp Refactor and cleanup Assembly Parsing / Lexing 2016-06-16 20:34:22 +00:00
AsmParser.cpp Refactor and cleanup Assembly Parsing / Lexing 2016-06-16 20:34:22 +00:00
CMakeLists.txt
COFFAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
DarwinAsmParser.cpp ARM: put extern __thread stubs in a special section. 2016-04-25 21:12:04 +00:00
ELFAsmParser.cpp [ELF][gcc compatibility]: support section names with special characters (e.g. "/") 2016-03-22 11:23:15 +00:00
LLVMBuild.txt
MCAsmLexer.cpp Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
MCAsmParser.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00