ARM: improve caret diagnostics for invalid FPU name
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jan 2015 18:42:10 +0000 (18:42 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jan 2015 18:42:10 +0000 (18:42 +0000)
commit9492802a378b616240bc506dad8b736a759c2e2c
tree37f686e26256c96e00a3d15574c36cf13f39afbc
parent728d12e435271a9185f2e344867af2b144e1a4a7
ARM: improve caret diagnostics for invalid FPU name

In the case of an invalid FPU name, place the caret at the name rather than FPU
directive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/directive-fpu-diagnostics.s [new file with mode: 0644]