summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorSam Kolton <Sam.Kolton@amd.com>2016-05-06 11:31:17 +0000
committerSam Kolton <Sam.Kolton@amd.com>2016-05-06 11:31:17 +0000
commit5f10a137d070a07ee6712facc5d0855aa6148df8 (patch)
tree135ef5c50572114abb3e7dd2b9c37691c318cb49 /clang/lib/Sema/SemaCodeComplete.cpp
parent6194ae69fea1ad611523af7cb1fb52cb7aafbfdc (diff)
downloadbcm5719-llvm-5f10a137d070a07ee6712facc5d0855aa6148df8.tar.gz
bcm5719-llvm-5f10a137d070a07ee6712facc5d0855aa6148df8.zip
[TableGen] AsmMatcher: support for default values for optional operands
Summary: This change allows to specify "DefaultMethod" for optional operand (IsOptional = 1) in AsmOperandClass that return default value for operand. This is used in convertToMCInst to set default values in MCInst. Previously if you wanted to set default value for operand you had to create custom converter method. With this change it is possible to use standard converters even when optional operands presented. Reviewers: tstellarAMD, ab, craig.topper Subscribers: jyknight, dsanders, arsenm, nhaustov, llvm-commits Differential Revision: http://reviews.llvm.org/D18242 llvm-svn: 268726
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud