[ADT] Implemented unittests for ImmutableList
authorKristof Umann <dkszelethus@gmail.com>
Mon, 13 Aug 2018 17:32:48 +0000 (17:32 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Mon, 13 Aug 2018 17:32:48 +0000 (17:32 +0000)
commit8ed38f2e808b4da94aa068d415a029073853effa
tree99708f0d412e8cfa13cca9fb2de10911b0a33bdb
parenta3f6d4c5b8c3779c892644a048aef5bbd4f42d5a
[ADT] Implemented unittests for ImmutableList

Also fixed a typo that wasn't discovered as `create` was never instantiated.

Differential Revision: https://reviews.llvm.org/D50646

llvm-svn: 339586
llvm/include/llvm/ADT/ImmutableList.h
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/ImmutableListTest.cpp [new file with mode: 0644]