llvm/clang-tools-extra/clang-doc/Mapper.cpp

//===-- Mapper.cpp - ClangDoc Mapper ----------------------------*- C++ -*-===//
//
// 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 "Mapper.h"
#include "BitcodeWriter.h"
#include "Serialize.h"
#include "clang/AST/Comment.h"
#include "clang/Index/USRGeneration.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Mutex.h"

namespace clang {
namespace doc {

static llvm::StringSet<> USRVisited;
static llvm::sys::Mutex USRVisitedGuard;

template <typename T> bool isTypedefAnonRecord(const T *D) {}

void MapASTVisitor::HandleTranslationUnit(ASTContext &Context) {}

template <typename T>
bool MapASTVisitor::mapDecl(const T *D, bool IsDefinition) {}

bool MapASTVisitor::VisitNamespaceDecl(const NamespaceDecl *D) {}

bool MapASTVisitor::VisitRecordDecl(const RecordDecl *D) {}

bool MapASTVisitor::VisitEnumDecl(const EnumDecl *D) {}

bool MapASTVisitor::VisitCXXMethodDecl(const CXXMethodDecl *D) {}

bool MapASTVisitor::VisitFunctionDecl(const FunctionDecl *D) {}

bool MapASTVisitor::VisitTypedefDecl(const TypedefDecl *D) {}

bool MapASTVisitor::VisitTypeAliasDecl(const TypeAliasDecl *D) {}

comments::FullComment *
MapASTVisitor::getComment(const NamedDecl *D, const ASTContext &Context) const {}

int MapASTVisitor::getLine(const NamedDecl *D,
                           const ASTContext &Context) const {}

llvm::SmallString<128> MapASTVisitor::getFile(const NamedDecl *D,
                                              const ASTContext &Context,
                                              llvm::StringRef RootDir,
                                              bool &IsFileInRootDir) const {}

} // namespace doc
} // namespace clang