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

#include <Index.h>

Collaboration diagram for clang::clangd::RefsRequest:
Collaboration graph

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 69 of file Index.h.

Member Data Documentation

◆ Filter

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

◆ IDs

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

◆ 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 75 of file Index.h.

Referenced by clang::clangd::remote::Marshaller::fromProtobuf(), clang::clangd::MergedIndex::refs(), clang::clangd::MemIndex::refs(), clang::clangd::dex::Dex::refs(), and clang::clangd::remote::Marshaller::toProtobuf().

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