llvm/clang-tools-extra/clang-move/HelperDeclRefGraph.cpp

//===-- HelperDeclRefGraph.cpp - AST-based call graph for helper decls ----===//
//
// 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 "HelperDeclRefGraph.h"
#include "Move.h"
#include "clang/AST/Decl.h"
#include "llvm/Support/Debug.h"
#include <vector>

#define DEBUG_TYPE

namespace clang {
namespace move {

void HelperDeclRefGraph::print(raw_ostream &OS) const {}

void HelperDeclRefGraph::addEdge(const Decl *Caller, const Decl *Callee) {}

void HelperDeclRefGraph::dump() const {}

CallGraphNode *HelperDeclRefGraph::getOrInsertNode(Decl *F) {}

CallGraphNode *HelperDeclRefGraph::getNode(const Decl *D) const {}

llvm::DenseSet<const CallGraphNode *>
HelperDeclRefGraph::getReachableNodes(const Decl *Root) const {}

const Decl *HelperDeclRGBuilder::getOutmostClassOrFunDecl(const Decl *D) {}

void HelperDeclRGBuilder::run(
    const ast_matchers::MatchFinder::MatchResult &Result) {}

} // namespace move
} // namespace clang