clang-tools 19.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
ClangTidyOptions.cpp File Reference
#include "ClangTidyOptions.h"
#include "ClangTidyModuleRegistry.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/YAMLTraits.h"
#include <algorithm>
#include <optional>
#include <utility>

Go to the source code of this file.


struct  llvm::yaml::SequenceTraits< FileFilter::LineRange >
struct  llvm::yaml::MappingTraits< FileFilter >
struct  llvm::yaml::MappingTraits< ClangTidyOptions::StringPair >
struct  llvm::yaml::NOptionMap
struct  llvm::yaml::ChecksVariant
struct  llvm::yaml::MappingTraits< ClangTidyOptions >


namespace  llvm
 Some operations such as code completion produce a set of candidates.
namespace  llvm::yaml
namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy


#define DEBUG_TYPE   "clang-tidy-options"


using OptionsSource = clang::tidy::ClangTidyOptionsProvider::OptionsSource


void llvm::yaml::yamlize (IO &IO, ClangTidyOptions::OptionMap &Val, bool, EmptyContext &Ctx)
void llvm::yaml::yamlize (IO &IO, ChecksVariant &Val, bool, EmptyContext &Ctx)
static void llvm::yaml::mapChecks (IO &IO, std::optional< std::string > &Checks)
template<typename T >
static void clang::tidy::mergeVectors (std::optional< T > &Dest, const std::optional< T > &Src)
static void clang::tidy::mergeCommaSeparatedLists (std::optional< std::string > &Dest, const std::optional< std::string > &Src)
template<typename T >
static void clang::tidy::overrideValue (std::optional< T > &Dest, const std::optional< T > &Src)
std::error_code clang::tidy::parseLineFilter (StringRef LineFilter, clang::tidy::ClangTidyGlobalOptions &Options)
 Parses -line-filter option and stores it to the Options.
llvm::ErrorOr< ClangTidyOptionsclang::tidy::parseConfiguration (llvm::MemoryBufferRef Config)
 Parses configuration from JSON and returns ClangTidyOptions or an error.
static void clang::tidy::diagHandlerImpl (const llvm::SMDiagnostic &Diag, void *Ctx)
llvm::ErrorOr< ClangTidyOptionsclang::tidy::parseConfigurationWithDiags (llvm::MemoryBufferRef Config, DiagCallback Handler)
std::string clang::tidy::configurationAsText (const ClangTidyOptions &Options)
 Serializes configuration to a YAML-encoded string.

Macro Definition Documentation


#define DEBUG_TYPE   "clang-tidy-options"

Definition at line 23 of file ClangTidyOptions.cpp.

Typedef Documentation

◆ OptionsSource

Definition at line 27 of file ClangTidyOptions.cpp.