llvm/clang/tools/diagtool/DiagTool.cpp

//===- DiagTool.cpp - Classes for defining diagtool tools -----------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// This file implements the boilerplate for defining diagtool tools.
//
//===----------------------------------------------------------------------===//

#include "DiagTool.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/STLExtras.h"
#include <vector>

usingnamespacediagtool;

DiagTool::DiagTool(llvm::StringRef toolCmd, llvm::StringRef toolDesc)
    :{}

DiagTool::~DiagTool() {}

ToolMap;
static inline ToolMap *getTools(void *v) {}

DiagTools::DiagTools() :{}
DiagTools::~DiagTools() {}

DiagTool *DiagTools::getTool(llvm::StringRef toolCmd) {}

void DiagTools::registerTool(DiagTool *tool) {}

void DiagTools::printCommands(llvm::raw_ostream &out) {}

namespace diagtool {
  llvm::ManagedStatic<DiagTools> diagTools;
}