//===- llvm/unittest/ADT/DAGDeltaAlgorithmTest.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 // //===----------------------------------------------------------------------===// #include "llvm/ADT/DAGDeltaAlgorithm.h" #include "gtest/gtest.h" #include <algorithm> #include <cstdarg> usingnamespacellvm; namespace { edge_ty; class FixedDAGDeltaAlgorithm : public DAGDeltaAlgorithm { … }; std::set<unsigned> fixed_set(unsigned N, ...) { … } std::set<unsigned> range(unsigned Start, unsigned End) { … } std::set<unsigned> range(unsigned N) { … } TEST(DAGDeltaAlgorithmTest, Basic) { … } }