summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-01-26 19:44:55 +0000
committerBob Wilson <bob.wilson@apple.com>2011-01-26 19:44:55 +0000
commitb9b2422e89266ce30a16dc08dc1732c249ef19df (patch)
tree0b2f97079d320928e38501538aca5898f267427f /clang/lib/Parse/ParseDecl.cpp
parente1a47c176656a94658e10890b52ce95363af3320 (diff)
downloadbcm5719-llvm-b9b2422e89266ce30a16dc08dc1732c249ef19df.tar.gz
bcm5719-llvm-b9b2422e89266ce30a16dc08dc1732c249ef19df.zip
Improve the AsmMatcher's ability to handle suboperands.
When an operand class is defined with MIOperandInfo set to a list of suboperands, the AsmMatcher has so far required that operand to also define a custom ParserMatchClass, and InstAlias patterns have not been able to set the individual suboperands separately. This patch removes both of those restrictions. If a "compound" operand does not override the default ParserMatchClass, then the AsmMatcher will now parse its suboperands separately. If an InstAlias operand has the same class as the corresponding compound operand, then it will be handled as before; but if that check fails, TableGen will now try to match up a sequence of InstAlias operands with the corresponding suboperands. llvm-svn: 124314
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud