//===- unittests/ADT/IListNodeBaseTest.cpp - ilist_node_base unit tests ---===// // // 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 // //===----------------------------------------------------------------------===// #include "llvm/ADT/ilist_node_base.h" #include "gtest/gtest.h" #include <type_traits> usingnamespacellvm; namespace { class Parent { … }; RawNode; TrackingNode; ParentNode; ParentTrackingNode; TEST(IListNodeBaseTest, DefaultConstructor) { … } TEST(IListNodeBaseTest, setPrevAndNext) { … } TEST(IListNodeBaseTest, isKnownSentinel) { … } TEST(IListNodeBaseTest, nodeBaseParent) { … } } // end namespace