llvm/llvm/lib/Support/WithColor.cpp

//===- WithColor.cpp ------------------------------------------------------===//
//
// 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 "llvm/Support/WithColor.h"

#include "DebugOptions.h"

#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ManagedStatic.h"

usingnamespacellvm;

cl::OptionCategory &llvm::getColorCategory() {}
namespace {
struct CreateUseColor {};
} // namespace
static ManagedStatic<cl::opt<cl::boolOrDefault>, CreateUseColor> UseColor;
void llvm::initWithColorOptions() {}

static bool DefaultAutoDetectFunction(const raw_ostream &OS) {}

WithColor::AutoDetectFunctionType WithColor::AutoDetectFunction =;

WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode)
    :{}

raw_ostream &WithColor::error() {}

raw_ostream &WithColor::warning() {}

raw_ostream &WithColor::note() {}

raw_ostream &WithColor::remark() {}

raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix,
                              bool DisableColors) {}

raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix,
                                bool DisableColors) {}

raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix,
                             bool DisableColors) {}

raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix,
                               bool DisableColors) {}

bool WithColor::colorsEnabled() {}

WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold,
                                  bool BG) {}

WithColor &WithColor::resetColor() {}

WithColor::~WithColor() {}

void WithColor::defaultErrorHandler(Error Err) {}

void WithColor::defaultWarningHandler(Error Warning) {}

WithColor::AutoDetectFunctionType WithColor::defaultAutoDetectFunction() {}

void WithColor::setAutoDetectFunction(
    AutoDetectFunctionType NewAutoDetectFunction) {}