diff options
| author | Oliver Stannard <oliver.stannard@arm.com> | 2017-08-09 09:40:51 +0000 |
|---|---|---|
| committer | Oliver Stannard <oliver.stannard@arm.com> | 2017-08-09 09:40:51 +0000 |
| commit | 7f569a2d549941aa1fe44d97d5c785661e5ee391 (patch) | |
| tree | e83678e4f5f139312dfdffd6a0dc272fc12a4a57 /clang/lib/Format/BreakableToken.cpp | |
| parent | 2cd28b2ba0b4c3d6fb667113e11bc0ff8968ab26 (diff) | |
| download | bcm5719-llvm-7f569a2d549941aa1fe44d97d5c785661e5ee391.tar.gz bcm5719-llvm-7f569a2d549941aa1fe44d97d5c785661e5ee391.zip | |
[AsmParser] Hash is not a comment on some targets
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: 310457
Diffstat (limited to 'clang/lib/Format/BreakableToken.cpp')
0 files changed, 0 insertions, 0 deletions

