clang-tools 22.0.0git
clang::clangd::CallHierarchyIncomingCall Struct Reference

Represents an incoming call, e.g. a caller of a method or constructor. More...

#include <Protocol.h>

Public Attributes

CallHierarchyItem from
 The item that makes the call.
std::vector< RangefromRanges
 The range at which the calls appear.
bool mightNeverCall = false
 For the case of being a virtual function we also return calls to the base function.

Detailed Description

Represents an incoming call, e.g. a caller of a method or constructor.

Definition at line 1623 of file Protocol.h.

Member Data Documentation

◆ from

CallHierarchyItem clang::clangd::CallHierarchyIncomingCall::from

The item that makes the call.

Definition at line 1625 of file Protocol.h.

◆ fromRanges

std::vector<Range> clang::clangd::CallHierarchyIncomingCall::fromRanges

The range at which the calls appear.

This is relative to the caller denoted by From.

Definition at line 1629 of file Protocol.h.

◆ mightNeverCall

bool clang::clangd::CallHierarchyIncomingCall::mightNeverCall = false

For the case of being a virtual function we also return calls to the base function.

This caller might be a false positive. We currently have no way of discerning this. This is a clangd extension.

Definition at line 1635 of file Protocol.h.


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