]> granicus.if.org Git - llvm/commit
[MC] Fix Various End Of Line Comment checkings
authorNirav Dave <niravd@google.com>
Mon, 24 Oct 2016 14:35:29 +0000 (14:35 +0000)
committerNirav Dave <niravd@google.com>
Mon, 24 Oct 2016 14:35:29 +0000 (14:35 +0000)
commitebd807a35f88e517293068c0f57448944bb0f7b3
tree79b40fffbcda3eebf568493f9779b02dd5070e60
parentf62fc7a37758275b713f1b27942770139c02e3ee
[MC] Fix Various End Of Line Comment checkings

Fix AsmParser lines to correctly handle end-of-line pre-processor
comments parsing when '#' is not the assembly line comment prefix.

Reviewers: rnk

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284978 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCParser/MCAsmParser.h
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/MCAsmParser.cpp
test/MC/AsmParser/AArch64/directive-parse-err.s [new file with mode: 0644]
test/MC/AsmParser/AArch64/lit.local.cfg [new file with mode: 0644]
test/MC/AsmParser/exprs-invalid.s