mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-25 13:45:34 +00:00
5646cdbe39
Add parseToken and compatriot functions to stitch error checks in straight linear code. As part of this fix some erronous handling of directives where the EndOfStatement token either was not checked or Lexed on termination. Reviewers: rnk, majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D22312 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275795 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
292 B
ArmAsm
14 lines
292 B
ArmAsm
#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
|
|
#RUN: diff %s %t
|
|
.text
|
|
|
|
foo: #Comment here
|
|
#comment here
|
|
nop
|
|
#if DIRECTIVE COMMENT
|
|
## WHOLE LINE COMMENT
|
|
cmpl $196, %eax ## EOL COMMENT
|
|
#endif
|
|
.ident "clang version 3.9.0"
|
|
.section ".note.GNU-stack","",@progbits
|