#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.
|
template<> |
void | llvm::yaml::yamlize (IO &IO, ClangTidyOptions::OptionMap &Val, bool, EmptyContext &Ctx) |
|
template<> |
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< ClangTidyOptions > | clang::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< ClangTidyOptions > | clang::tidy::parseConfigurationWithDiags (llvm::MemoryBufferRef Config, DiagCallback Handler) |
|
std::string | clang::tidy::configurationAsText (const ClangTidyOptions &Options) |
| Serializes configuration to a YAML-encoded string.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "clang-tidy-options" |
◆ OptionsSource