Stores source information for a declaration.
Declared in <mrdocs/Metadata/Symbol/Source.hpp>
struct SourceInfo;
| Name | Description |
|---|---|
SourceInfo [constructor] | Construct with no locations. |
~SourceInfo [destructor] [virtual] | Polymorphic base needs a virtual destructor. |
| Name | Description |
|---|---|
DefLoc | Location where the entity was defined |
Loc | Locations where the entity was declared. |
| 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. |