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

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

#include <SourceCode.h>

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

Public Attributes

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

Detailed Description

Represents locations that can accept a definition.

Definition at line 283 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 290 of file SourceCode.h.

◆ 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 287 of file SourceCode.h.


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