clang-tools  14.0.0git
Namespaces | Functions
TidyProvider.cpp File Reference
#include "TidyProvider.h"
#include "../clang-tidy/ClangTidyModuleRegistry.h"
#include "Config.h"
#include "support/FileCache.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "support/ThreadsafeFS.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <memory>
Include dependency graph for TidyProvider.cpp:

Go to the source code of this file.

Namespaces

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

Functions

static void clang::clangd::mergeCheckList (llvm::Optional< std::string > &Checks, llvm::StringRef List)
 
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...
 
TidyProviderRef clang::clangd::provideClangdConfig ()
 
TidyProvider clang::clangd::provideClangTidyFiles (ThreadsafeFS &)
 Provider that searches for .clang-tidy configuration files in the directory tree. More...
 
TidyProvider clang::clangd::combine (std::vector< TidyProvider > Providers)
 
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...