aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/ADT/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-20 00:26:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-20 00:26:04 +0000
commita28eda7e401f37a2fe42ca9bba96b6e662b60cf0 (patch)
tree3280d2d2f26755931bfe557d97034f8a16b1b3a8 /unittests/ADT/CMakeLists.txt
parent9bc2c994827f2ff881d0563f0c14134b794b4928 (diff)
downloadexternal_llvm-a28eda7e401f37a2fe42ca9bba96b6e662b60cf0.zip
external_llvm-a28eda7e401f37a2fe42ca9bba96b6e662b60cf0.tar.gz
external_llvm-a28eda7e401f37a2fe42ca9bba96b6e662b60cf0.tar.bz2
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 'unittests/ADT/CMakeLists.txt')
-rw-r--r--unittests/ADT/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/ADT/CMakeLists.txt b/unittests/ADT/CMakeLists.txt
index 0f39e02..9aad793 100644
--- a/unittests/ADT/CMakeLists.txt
+++ b/unittests/ADT/CMakeLists.txt
@@ -19,6 +19,7 @@ set(ADTSources
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp
MapVectorTest.cpp
+ OptionalTest.cpp
PackedVectorTest.cpp
SCCIteratorTest.cpp
SmallPtrSetTest.cpp