clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::EligibleRegion Struct Reference

Represents locations that can accept a definition. More...

#include <SourceCode.h>

Public Attributes

std::string EnclosingNamespace
 Namespace that owns all of the EligiblePoints, e.g.
 
std::vector< PositionEligiblePoints
 Offsets into the code marking eligible points to insert a function definition.
 

Detailed Description

Represents locations that can accept a definition.

Definition at line 292 of file SourceCode.h.

Member Data Documentation

◆ EligiblePoints

std::vector<Position> clang::clangd::EligibleRegion::EligiblePoints

Offsets into the code marking eligible points to insert a function definition.

Definition at line 299 of file SourceCode.h.

Referenced by clang::clangd::getEligiblePoints().

◆ EnclosingNamespace

std::string clang::clangd::EligibleRegion::EnclosingNamespace

Namespace that owns all of the EligiblePoints, e.g.

namespace a{ namespace b {^ void foo();^} } It will be “a::b” for both carrot locations.

Definition at line 296 of file SourceCode.h.

Referenced by clang::clangd::getEligiblePoints().


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