Files
revng-revng/lib/RestructureCFGPass/BasicBlockNode.cpp
T
Andrea Gussoni 95ddb2b36b BasicBlockNode and RegionCFG now template
`BasicBlockNode` and `RegionCFG` classes are now template classes. This
means that the `BasicBlockNode` class can be used as a generic wrapper
for any type of object in the original graph (it is usually used to wrap
a `llvm::BasicBlock *` for decompilation purposes, but in tests it can
be used to wrap a `DotNode` object) that implementes `GraphTraits`.
2019-04-15 17:30:37 +02:00

15 lines
413 B
C++

/// \file Restructure.cpp
/// \brief FunctionPass that applies the comb to the RegionCFG of a function
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// Local libraries includes
#include "revng-c/RestructureCFGPass/BasicBlockNodeImpl.h"
using namespace llvm;
// Explicit instantation for the `RegionCFG` template class.
template class BasicBlockNode<llvm::BasicBlock *>;