//===- llvm/unittest/ADT/TinyPtrVectorTest.cpp ----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // TinyPtrVector unit tests. // //===----------------------------------------------------------------------===// #include "llvm/ADT/TinyPtrVector.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/type_traits.h" #include "gtest/gtest.h" #include <algorithm> #include <random> #include <vector> usingnamespacellvm; namespace … TEST(TinyPtrVectorTest, SingleEltCtorTest) { … } TEST(TinyPtrVectorTest, ArrayRefCtorTest) { … } TEST(TinyPtrVectorTest, MutableArrayRefTest) { … }