//===- llvm/unittest/Support/ReverseIterationTest.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 // //===---------------------------------------------------------------------===// // // Reverse Iteration unit tests. // //===---------------------------------------------------------------------===// #include "llvm/Support/ReverseIteration.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/STLExtras.h" #include "gtest/gtest.h" usingnamespacellvm; TEST(ReverseIterationTest, DenseMapTest1) { … } // Define a pointer-like int. struct PtrLikeInt { … }; namespace llvm { template<> struct DenseMapInfo<PtrLikeInt *> { … }; } // end namespace llvm TEST(ReverseIterationTest, DenseMapTest2) { … }