clang-tools
9.0.0
|
#include <Relation.h>
Classes | |
class | Builder |
RelationSlab::Builder is a mutable container that can 'freeze' to RelationSlab. More... | |
Public Types | |
using | value_type = Relation |
using | const_iterator = std::vector< value_type >::const_iterator |
using | iterator = const_iterator |
Public Member Functions | |
RelationSlab ()=default | |
RelationSlab (RelationSlab &&Slab)=default | |
RelationSlab & | operator= (RelationSlab &&RHS)=default |
const_iterator | begin () const |
const_iterator | end () const |
size_t | size () const |
bool | empty () const |
size_t | bytes () const |
llvm::iterator_range< iterator > | lookup (const SymbolID &Subject, index::SymbolRole Predicate) const |
Lookup all relations matching the given subject and predicate. More... | |
Definition at line 41 of file Relation.h.
using clang::clangd::RelationSlab::const_iterator = std::vector<value_type>::const_iterator |
Definition at line 44 of file Relation.h.
Definition at line 45 of file Relation.h.
Definition at line 43 of file Relation.h.
|
default |
|
default |
|
inline |
Definition at line 51 of file Relation.h.
References Relations.
|
inline |
Definition at line 56 of file Relation.h.
References clang::clangd::lookup(), clang::clangd::Relation::Predicate, Relations, and clang::clangd::Relation::Subject.
Referenced by clang::clangd::FileSymbols::buildIndex().
|
inline |
Definition at line 54 of file Relation.h.
References Relations.
|
inline |
Definition at line 52 of file Relation.h.
References Relations.
llvm::iterator_range< RelationSlab::iterator > clang::clangd::RelationSlab::lookup | ( | const SymbolID & | Subject, |
index::SymbolRole | Predicate | ||
) | const |
Lookup all relations matching the given subject and predicate.
Definition at line 17 of file Relation.cpp.
References clang::clangd::Relation::Predicate, and clang::clangd::Relation::Subject.
|
default |
|
inline |
Definition at line 53 of file Relation.h.
References Relations.