clang-tools  14.0.0git
Namespaces | Functions
SemanticHighlighting.cpp File Reference
#include "SemanticHighlighting.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/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Base64.h"
#include "llvm/Support/Casting.h"
#include <algorithm>
Include dependency graph for SemanticHighlighting.cpp:

Go to the source code of this file.

Namespaces

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

Functions

std::vector< HighlightingToken > clang::clangd::getSemanticHighlightings (ParsedAST &AST)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, HighlightingKind K)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, HighlightingModifier K)
 
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 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)