diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-20 00:26:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-20 00:26:04 +0000 |
commit | 77bac3dbcc2efde5be60ac93acbad0b3e60b0c43 (patch) | |
tree | d65eaa02d75d88ca20d86e1d5508454942831f4d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6605c604b9ceef7007cd099b483a252b4b1d5d36 (diff) | |
download | bcm5719-llvm-77bac3dbcc2efde5be60ac93acbad0b3e60b0c43.tar.gz bcm5719-llvm-77bac3dbcc2efde5be60ac93acbad0b3e60b0c43.zip |
Allow llvm::Optional to work with types without default constructors.
This generalizes Optional to require less from the T type by using aligned
storage for backing & placement new/deleting the T into it when necessary.
Also includes unit tests.
llvm-svn: 175580
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions