clang-tools 20.0.0git
Namespaces | Macros | Functions
TidyProvider.cpp File Reference
#include "TidyProvider.h"
#include "../clang-tidy/ClangTidyModuleRegistry.h"
#include "../clang-tidy/ClangTidyOptions.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/Process.h"
#include "llvm/Support/SourceMgr.h"
#include <memory>
#include <optional>
#include "TidyFastChecks.inc"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 

Macros

#define FAST(CHECK, TIME)   {#CHECK,true},
 
#define SLOW(CHECK, TIME)   {#CHECK,false},
 

Functions

static void clang::clangd::mergeCheckList (std::optional< std::string > &Checks, llvm::StringRef List)
 
TidyProviderRef clang::clangd::provideEnvironment ()
 Provider that just sets the defaults.
 
TidyProviderRef clang::clangd::provideDefaultChecks ()
 Provider that will enable a nice set of default checks if none are specified.
 
TidyProvider clang::clangd::addTidyChecks (llvm::StringRef Checks, llvm::StringRef WarningsAsErrors={})
 Provider the enables a specific set of checks and warnings as errors.
 
TidyProvider clang::clangd::disableUnusableChecks (llvm::ArrayRef< std::string > ExtraBadChecks={})
 Provider that will disable checks known to not work with clangd.
 
TidyProviderRef clang::clangd::provideClangdConfig ()
 
TidyProvider clang::clangd::provideClangTidyFiles (ThreadsafeFS &)
 Provider that searches for .clang-tidy configuration files in the directory tree.
 
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.
 
std::optional< bool > clang::clangd::isFastTidyCheck (llvm::StringRef Check)
 Returns if Check is known-fast, known-slow, or its speed is unknown.
 

Macro Definition Documentation

◆ FAST

#define FAST (   CHECK,
  TIME 
)    {#CHECK,true},

◆ SLOW

#define SLOW (   CHECK,
  TIME 
)    {#CHECK,false},