mrdocs::SourceInfo

Stores source information for a declaration.

Synopsis

Declared in <mrdocs/Metadata/Symbol/Source.hpp>

struct SourceInfo;

Member Functions

Name

Description

SourceInfo [constructor]

Construct with no locations.

~SourceInfo [destructor] [virtual]

Polymorphic base needs a virtual destructor.

Data Members

Name

Description

DefLoc

Location where the entity was defined

Loc

Locations where the entity was declared.

Non-Member Functions

Name

Description

getPrimaryLocation

Choose the best location to display for a symbol.

merge

Merge, transferring ownership from the right‐hand side.

merge

Merge the location sets, preferring existing def/primary.

Created with MrDocs