diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-06-22 23:56:44 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-06-22 23:56:44 +0000 |
commit | 3a8a0fa8e6e44ebe289a5daec93174778dec67fe (patch) | |
tree | e9ecdbf712355794d4e828b354e037e41f53fd55 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 72b3452c2b35b9c4c4163c1bb05a8aa60abd5cad (diff) | |
download | bcm5719-llvm-3a8a0fa8e6e44ebe289a5daec93174778dec67fe.tar.gz bcm5719-llvm-3a8a0fa8e6e44ebe289a5daec93174778dec67fe.zip |
TableGen: AsmMatcher support for better operand diagnostics.
"Invalid operand" may be a completely correct diagnostic, but it's often
insufficiently specific to really help identify and fix the problem in
assembly source. Allow a target to specify a more-specific diagnostic kind
for each AsmOperandClass derived definition and use that to provide
more detailed diagnostics when an operant of that class resulted in a
match failure.
rdar://8987109
llvm-svn: 159050
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions