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 | a28eda7e401f37a2fe42ca9bba96b6e662b60cf0 (patch) | |
tree | 3280d2d2f26755931bfe557d97034f8a16b1b3a8 /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | 9bc2c994827f2ff881d0563f0c14134b794b4928 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
0 files changed, 0 insertions, 0 deletions