llvm-project/llvm/lib/MC/MCParser
Oliver Stannard 9bd18aa7d8 [AsmParser] Recommit: Hash is not a comment on some targets
Re-committing after r311325 fixed an unintentional use of '#' comments in
clang.

The '#' token is not a comment for all targets (on ARM and AArch64 it marks an
immediate operand), so we shouldn't treat it as such.

Comments are already converted to AsmToken::EndOfStatement by
AsmLexer::LexLineComment, so this check was unnecessary.

Differential Revision: https://reviews.llvm.org/D36405

llvm-svn: 311326
2017-08-21 09:58:37 +00:00
..
AsmLexer.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
AsmParser.cpp [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
CMakeLists.txt
COFFAsmParser.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DarwinAsmParser.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
ELFAsmParser.cpp MC, Object: Reserve a section type, SHT_LLVM_ODRTAB, for the ODR table. 2017-06-14 18:52:12 +00:00
LLVMBuild.txt
MCAsmLexer.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
MCAsmParser.cpp [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
MCAsmParserExtension.cpp [MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-10 01:33:54 +00:00
MCTargetAsmParser.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00