clang-tools  15.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...
 
bool WantContainer = false
 If set, populates the container of the reference. More...
 

Detailed Description

Definition at line 68 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 74 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().

◆ WantContainer

bool clang::clangd::RefsRequest::WantContainer = false

If set, populates the container of the reference.

Index implementations may chose to populate containers no matter what.

Definition at line 77 of file Index.h.

Referenced by clang::clangd::remote::Marshaller::fromProtobuf(), clang::clangd::incomingCalls(), and clang::clangd::remote::Marshaller::toProtobuf().


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