[ARM][MC] Change EndOfStatement "unexpected tokens in .xxx directive " to "expected...
authorFangrui Song <i@maskray.me>
Sun, 5 Jun 2022 21:53:59 +0000 (14:53 -0700)
committerFangrui Song <i@maskray.me>
Sun, 5 Jun 2022 21:53:59 +0000 (14:53 -0700)
commit8c911f8e9ae824d78930ac4fdc9ad4084a9098f2
tree48160b5a429ba6ca1a818807884cbce3309fba68
parent8f7b14898fe32f9c41059517a5a3872ef089174b
[ARM][MC] Change EndOfStatement "unexpected tokens in .xxx directive " to "expected newline"

The directive name is not useful because the next line replicates the error line
which includes the directive. The prevailing style uses "expected newline".
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/directive-thumb_func.s
llvm/test/MC/ARM/directive-tlsdescseq-diagnostics.s
llvm/test/MC/ARM/directive_parsing.s