clang-tools 20.0.0git
Namespaces | Functions
SemanticHighlighting.cpp File Reference
#include "SemanticHighlighting.h"
#include "Config.h"
#include "FindTarget.h"
#include "HeuristicResolver.h"
#include "ParsedAST.h"
#include "Protocol.h"
#include "SourceCode.h"
#include "support/Logger.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Tooling/Syntax/Tokens.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Error.h"
#include <algorithm>
#include <optional>

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.
 

Functions

std::vector< HighlightingToken > clang::clangd::getSemanticHighlightings (ParsedAST &AST, bool IncludeInactiveRegionTokens)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, HighlightingKind K)
 
std::optional< HighlightingKind > clang::clangd::highlightingKindFromString (llvm::StringRef Name)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, HighlightingModifier K)
 
std::optional< HighlightingModifier > clang::clangd::highlightingModifierFromString (llvm::StringRef Name)
 
bool clang::clangd::operator== (const HighlightingToken &L, const HighlightingToken &R)
 
bool clang::clangd::operator< (const HighlightingToken &L, const HighlightingToken &R)
 
std::vector< SemanticToken > clang::clangd::toSemanticTokens (llvm::ArrayRef< HighlightingToken > Tokens, llvm::StringRef Code)
 
llvm::StringRef clang::clangd::toSemanticTokenType (HighlightingKind Kind)
 
llvm::StringRef clang::clangd::toSemanticTokenModifier (HighlightingModifier Modifier)
 
std::vector< SemanticTokensEdit > clang::clangd::diffTokens (llvm::ArrayRef< SemanticToken > Old, llvm::ArrayRef< SemanticToken > New)
 
std::vector< Rangeclang::clangd::getInactiveRegions (ParsedAST &AST)