summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-06-17 16:06:17 +0000
committerNirav Dave <niravd@google.com>2016-06-17 16:06:17 +0000
commitfd91041ce1dcc7af9bbc80c43df40fa5cc93ab3b (patch)
treef2f59fe315c81e8c12f0e1b928ef55f53ba307a8 /clang/lib/Frontend/CompilerInvocation.cpp
parent678844e68ace26245fb673a63b71cd3b696bc840 (diff)
downloadbcm5719-llvm-fd91041ce1dcc7af9bbc80c43df40fa5cc93ab3b.tar.gz
bcm5719-llvm-fd91041ce1dcc7af9bbc80c43df40fa5cc93ab3b.zip
Refactor and cleanup Assembly Parsing / Lexing
Recommiting after fixing non-atomic insert to front of SmallVector in MCAsmLexer.h 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 llvm-svn: 273007
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud