diff options
| author | Oliver Stannard <oliver.stannard@arm.com> | 2017-10-03 14:34:57 +0000 |
|---|---|---|
| committer | Oliver Stannard <oliver.stannard@arm.com> | 2017-10-03 14:34:57 +0000 |
| commit | 41dfac3eb2f74339ed4a56211c91d7902453624d (patch) | |
| tree | 2913d4ff23fdc02fec04a59731a94e4d183181ed /llvm/test/MC/ARM | |
| parent | 085a23f1872ad7e2fdf64fdea3356606c9318268 (diff) | |
| download | bcm5719-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

