getPrimaryLocation overloads
Declared in <mrdocs/Metadata/Symbol/Source.hpp>
Determine a location to use when none is explicitly chosen.
Optional<Location>
getPrimaryLocation(Symbol const& I);
» more...
Choose the best location to display for a symbol.
Optional<Location>
getPrimaryLocation(
SourceInfo const& I,
bool preferDefinition);
» more...
The preferred location if available.
| Name | Description |
|---|---|
| I | Source info to examine. |
| preferDefinition | If true, favor a definition location. |