diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-06-17 23:26:01 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-06-17 23:26:01 +0000 |
commit | 376fc708daf6d1ba4d66c77c42c8654f90d06c03 (patch) | |
tree | dfb908d7d453d4e784a21787a78fea5c9c6a52b9 /llvm/unittests/Support/AlignOfTest.cpp | |
parent | 4d04afbb61e6027f51049c5f4c09d65c2b32820b (diff) | |
download | bcm5719-llvm-376fc708daf6d1ba4d66c77c42c8654f90d06c03.tar.gz bcm5719-llvm-376fc708daf6d1ba4d66c77c42c8654f90d06c03.zip |
YAML: Assign a value returned by the default constructor to the value in an optional mapping.
This commit ensures that a value that's passed into YAML's IO mapOptional method
is going to be assigned a value returned by the default constructor for that
value's type when the appropriate key is not present in the YAML mapping.
Reviewers: Duncan P. N. Exon Smith
Differential Revision: http://reviews.llvm.org/D10492
llvm-svn: 239972
Diffstat (limited to 'llvm/unittests/Support/AlignOfTest.cpp')
0 files changed, 0 insertions, 0 deletions