clang-tools  16.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 <utility>
Include dependency graph for ClangTidyOptions.cpp:

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::MappingTraits< ClangTidyOptions >


 Some operations such as code completion produce a set of candidates.
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


#define DEBUG_TYPE   "clang-tidy-options"


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


void llvm::yaml::yamlize (IO &IO, ClangTidyOptions::OptionMap &Options, bool, EmptyContext &Ctx)
template<typename T >
static void clang::tidy::mergeVectors (Optional< T > &Dest, const Optional< T > &Src)
static void clang::tidy::mergeCommaSeparatedLists (Optional< std::string > &Dest, const Optional< std::string > &Src)
template<typename T >
static void clang::tidy::overrideValue (Optional< T > &Dest, const 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. More...
llvm::ErrorOr< ClangTidyOptionsclang::tidy::parseConfiguration (llvm::MemoryBufferRef Config)
 Parses configuration from JSON and returns ClangTidyOptions or an error. More...
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. More...

Macro Definition Documentation


#define DEBUG_TYPE   "clang-tidy-options"

Definition at line 21 of file ClangTidyOptions.cpp.

Typedef Documentation

◆ OptionsSource

Definition at line 25 of file ClangTidyOptions.cpp.