clang-tools  14.0.0git
Classes | Namespaces | Typedefs | Functions
ClangTidyOptions.h File Reference
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <functional>
#include <string>
#include <system_error>
#include <utility>
#include <vector>
Include dependency graph for ClangTidyOptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::tidy::FileFilter
 Contains a list of line ranges in a single file. More...
struct  clang::tidy::ClangTidyGlobalOptions
 Global options. More...
struct  clang::tidy::ClangTidyOptions
 Contains options for clang-tidy. More...
struct  clang::tidy::ClangTidyOptions::ClangTidyValue
 Helper structure for storing option value with priority of the value. More...
class  clang::tidy::ClangTidyOptionsProvider
 Abstract interface for retrieving various ClangTidy options. More...
class  clang::tidy::DefaultOptionsProvider
 Implementation of the ClangTidyOptionsProvider interface, which returns the same options for all files. More...
class  clang::tidy::FileOptionsBaseProvider
class  clang::tidy::ConfigOptionsProvider
 Implementation of ClangTidyOptions interface, which is used for '-config' command-line option. More...
class  clang::tidy::FileOptionsProvider
 Implementation of the ClangTidyOptionsProvider interface, which tries to find a configuration file in the closest parent directory of each source file. More...


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


using clang::tidy::DiagCallback = llvm::function_ref< void(const llvm::SMDiagnostic &)>


std::error_code clang::tidy::parseLineFilter (llvm::StringRef LineFilter, ClangTidyGlobalOptions &Options)
 Parses LineFilter from JSON 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...
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...