clang-tools 20.0.0git
|
#include "CompileCommands.h"
#include "Config.h"
#include "ConfigFragment.h"
#include "ConfigProvider.h"
#include "Diagnostics.h"
#include "Feature.h"
#include "TidyProvider.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "support/Trace.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include <memory>
#include <optional>
#include <string>
#include <vector>
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. | |
namespace | clang::clangd::config |
std::vector<llvm::unique_function<void(const Params &, Config &) const> > Apply |
Definition at line 77 of file ConfigCompile.cpp.
std::vector<llvm::unique_function<bool(const Params &) const> > Conditions |
Definition at line 73 of file ConfigCompile.cpp.
DiagnosticCallback Diagnostic |
Definition at line 99 of file ConfigCompile.cpp.
Referenced by clang::tidy::modernize::MinMaxUseInitializerListCheck::check(), clang::tidy::abseil::StringFindStartswithCheck::check(), clang::tidy::cppcoreguidelines::InitVariablesCheck::check(), clang::tidy::modernize::UseStartsEndsWithCheck::check(), clang::tidy::readability::ConstReturnTypeCheck::check(), clang::tidy::performance::UnnecessaryCopyInitialization::diagnoseCopyFromLocalVar(), clang::tidy::performance::UnnecessaryCopyInitialization::diagnoseCopyFromMethodReturn(), and clang::tidy::getFixIt().
|
staticconstexpr |
Definition at line 714 of file ConfigCompile.cpp.
Referenced by clang::replace::deleteReplacementFiles(), clang::tidy::ClangTidyContext::diag(), clang::tidy::exportReplacements(), clang::tidy::ClangTidyDiagnosticConsumer::HandleDiagnostic(), clang::tidy::handleErrors(), and clang::tidy::makeNoLintError().
std::string FragmentDirectory |
Definition at line 102 of file ConfigCompile.cpp.
CompiledFragmentImpl& Out |
Definition at line 98 of file ConfigCompile.cpp.
Referenced by clang::clangd::config::CapturedDiags::callback(), clang::clangd::collectAccessibleScopes(), clang::clangd::CollectMainFileMacros::CollectMainFileMacros(), clang::clangd::CollectPragmaMarks::CollectPragmaMarks(), clang::clangd::collectPragmaMarksCallback(), clang::replace::detail::collectReplacementsFromDirectory(), clang::clangd::findExplicitReferences(), clang::clangd::fromJSON(), clang::doc::genEnumsBlock(), clang::doc::genFileHeadNodes(), clang::doc::genFunctionsBlock(), clang::doc::genHTML(), clang::doc::genJsScriptsHTML(), clang::doc::genRecordMembersBlock(), clang::doc::genReferenceList(), clang::doc::genReferencesBlock(), clang::doc::genStylesheetsHTML(), clang::clangd::config::FileConfigCache::get(), clang::clangd::dex::identifierTrigrams(), clang::clangd::issueIncludeCleanerDiagnostics(), clang::clangd::LSPBinder::LSPBinder(), main(), clang::clangd::newJSONTransport(), clang::clangd::LSPBinder::UntypedOutgoingMethod::operator OutgoingMethod< Request, Response >(), clang::clangd::LSPBinder::UntypedOutgoingNotification::operator OutgoingNotification< Request >(), clang::clangd::parseDocumentationLine(), clang::clangd::printName(), clang::clangd::printUsingNamespaceName(), clang::clangd::record(), clang::clangd::IncludeStructure::RecordHeaders::RecordHeaders(), clang::clangd::stripComments(), clang::clangd::DirectiveTree::stripDirectives(), clang::clangd::toJSON(), clang::clangd::toSemanticTokens(), clang::clangd::unwrapFindType(), and writeModuleMap().
llvm::SourceMgr* SourceMgr |
Definition at line 100 of file ConfigCompile.cpp.
bool Trusted = false |
Definition at line 103 of file ConfigCompile.cpp.
Referenced by clang::clangd::config::Provider::fromAncestorRelativeYAMLFiles(), clang::clangd::config::Provider::fromYAMLFile(), and clang::clangd::config::FileConfigCache::get().
|
staticconstexpr |
Definition at line 715 of file ConfigCompile.cpp.