//===- llvm/unittest/ADT/TestGraph.h - Graph for testing ------------------===// // // 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 // //===----------------------------------------------------------------------===// // // Common graph data structure for testing. // //===----------------------------------------------------------------------===// #ifndef LLVM_UNITTESTS_ADT_TEST_GRAPH_H #define LLVM_UNITTESTS_ADT_TEST_GRAPH_H #include "llvm/ADT/GraphTraits.h" #include <cassert> #include <climits> #include <utility> namespace llvm { /// Graph<N> - A graph with N nodes. Note that N can be at most 8. template <unsigned N> class Graph { … }; GraphTraits<Graph<N>>; } // End namespace llvm #endif