clang-tools  16.0.0git
Namespaces | Typedefs | Functions
TidyProvider.h File Reference
#include "../clang-tidy/ClangTidyOptions.h"
#include "support/ThreadsafeFS.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/StringRef.h"
Include dependency graph for TidyProvider.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


using clang::clangd::TidyProvider = llvm::unique_function< void(tidy::ClangTidyOptions &, llvm::StringRef) const >
 A factory to modify a tidy::ClangTidyOptions. More...
using clang::clangd::TidyProviderRef = llvm::function_ref< void(tidy::ClangTidyOptions &, llvm::StringRef)>
 A factory to modify a tidy::ClangTidyOptions that doesn't hold any state. More...


TidyProvider clang::clangd::combine (std::vector< TidyProvider > Providers)
TidyProviderRef clang::clangd::provideEnvironment ()
 Provider that just sets the defaults. More...
TidyProviderRef clang::clangd::provideDefaultChecks ()
 Provider that will enable a nice set of default checks if none are specified. More...
TidyProvider clang::clangd::addTidyChecks (llvm::StringRef Checks, llvm::StringRef WarningsAsErrors={})
 Provider the enables a specific set of checks and warnings as errors. More...
TidyProvider clang::clangd::disableUnusableChecks (llvm::ArrayRef< std::string > ExtraBadChecks={})
 Provider that will disable checks known to not work with clangd. More...
TidyProvider clang::clangd::provideClangTidyFiles (ThreadsafeFS &)
 Provider that searches for .clang-tidy configuration files in the directory tree. More...
TidyProviderRef clang::clangd::provideClangdConfig ()
tidy::ClangTidyOptions clang::clangd::getTidyOptionsForFile (TidyProviderRef Provider, llvm::StringRef Filename)
bool clang::clangd::isRegisteredTidyCheck (llvm::StringRef Check)
 Returns if Check is a registered clang-tidy check. More...