clang-tools 19.0.0git
Classes | Namespaces | Enumerations | Functions
Ref.h File Reference
#include "index/SymbolID.h"
#include "index/SymbolLocation.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>

Go to the source code of this file.


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 >


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


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


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)