summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2017-10-03 14:34:57 +0000
committerOliver Stannard <oliver.stannard@arm.com>2017-10-03 14:34:57 +0000
commit41dfac3eb2f74339ed4a56211c91d7902453624d (patch)
tree2913d4ff23fdc02fec04a59731a94e4d183181ed /llvm/test/MC/ARM
parent085a23f1872ad7e2fdf64fdea3356606c9318268 (diff)
downloadbcm5719-llvm-41dfac3eb2f74339ed4a56211c91d7902453624d.tar.gz
bcm5719-llvm-41dfac3eb2f74339ed4a56211c91d7902453624d.zip
[AsmParser] Add DiagnosticString to AsmOperands in tablegen
This adds a DiagnosticString member to the AsmOperand tablegen class, so that the diagnostic text to be used when an assembly operand is incorrect can be stored in the tablegen description of the operand, rather than in a separate switch statement in the AsmParser. If DiagnosticString is used for any operands, tablegen will emit a getMatchKindDiag function, to map from diagnostic enums to strings. Differential revision: https://reviews.llvm.org/D31606 llvm-svn: 314803
Diffstat (limited to 'llvm/test/MC/ARM')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud