clang-tools  12.0.0git
Classes | Namespaces | Enumerations | Functions
Ref.h File Reference
#include "SymbolID.h"
#include "SymbolLocation.h"
#include "clang/Index/IndexSymbol.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <set>
#include <utility>
Include dependency graph for Ref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clang::clangd::Ref
 Represents a symbol occurrence in the source file. More...
 
class  clang::clangd::RefSlab
 An efficient structure of storing large set of symbol references in memory. More...
 
class  clang::clangd::RefSlab::Builder
 RefSlab::Builder is a mutable container that can 'freeze' to RefSlab. More...
 
struct  llvm::DenseMapInfo< clang::clangd::RefSlab::Builder::Entry >
 

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 
 llvm
 Some operations such as code completion produce a set of candidates.
 

Enumerations

enum  clang::clangd::RefKind : uint8_t {
  clang::clangd::RefKind::Unknown = 0, clang::clangd::RefKind::Declaration = 1 << 0, clang::clangd::RefKind::Definition = 1 << 1, clang::clangd::RefKind::Reference = 1 << 2,
  clang::clangd::RefKind::Spelled = 1 << 3, clang::clangd::RefKind::All = Declaration | Definition | Reference | Spelled
}
 Describes the kind of a cross-reference. More...
 

Functions

RefKind clang::clangd::operator| (RefKind L, RefKind R)
 
RefKind & clang::clangd::operator|= (RefKind &L, RefKind R)
 
RefKind clang::clangd::operator & (RefKind A, RefKind B)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, RefKind K)
 
bool clang::clangd::operator< (const Ref &L, const Ref &R)
 
bool clang::clangd::operator== (const Ref &L, const Ref &R)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const Ref &R)