diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-06-22 23:56:48 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-06-22 23:56:48 +0000 |
commit | 087affe2f3ce52dc0a314517eb77b684af6dec51 (patch) | |
tree | 69fa59b25365896c4185f121be54f5d5f2e4804a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3a8a0fa8e6e44ebe289a5daec93174778dec67fe (diff) | |
download | bcm5719-llvm-087affe2f3ce52dc0a314517eb77b684af6dec51.tar.gz bcm5719-llvm-087affe2f3ce52dc0a314517eb77b684af6dec51.zip |
ARM: Add a better diagnostic for some out of range immediates.
As an example of how the custom DiagnosticType can be used to provide
better operand-mismatch diagnostics, add a custom diagnostic for
the imm0_15 operand class used for several system instructions.
Update the tests to expect the improved diagnostic.
rdar://8987109
llvm-svn: 159051
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions