clang-tools  12.0.0git
Public Attributes | List of all members
clang::clangd::RefsRequest Struct Reference

#include <Index.h>

Collaboration diagram for clang::clangd::RefsRequest:
Collaboration graph
[legend]

Public Attributes

llvm::DenseSet< SymbolIDIDs
 
RefKind Filter = RefKind::All
 
llvm::Optional< uint32_t > Limit
 If set, limit the number of refers returned from the index. More...
 

Detailed Description

Definition at line 67 of file Index.h.

Member Data Documentation

◆ Filter

RefKind clang::clangd::RefsRequest::Filter = RefKind::All

Definition at line 69 of file Index.h.

Referenced by clang::clangd::MemIndex::refs().

◆ IDs

llvm::DenseSet<SymbolID> clang::clangd::RefsRequest::IDs

Definition at line 68 of file Index.h.

Referenced by clang::clangd::MemIndex::refs().

◆ Limit

llvm::Optional<uint32_t> clang::clangd::RefsRequest::Limit

If set, limit the number of refers returned from the index.

The index may choose to return less than this, e.g. it tries to avoid returning stale results.

Definition at line 73 of file Index.h.

Referenced by clang::clangd::MergedIndex::refs(), clang::clangd::MemIndex::refs(), and clang::clangd::dex::Dex::refs().


The documentation for this struct was generated from the following file: