mrdocs::getPrimaryLocation

Choose the best location to display for a symbol.

Synopsis

Optional<Location>
getPrimaryLocation(
    SourceInfo const& I,
    bool preferDefinition);

Return Value

The preferred location if available.

Parameters

Name

Description

I

Source info to examine.

preferDefinition

If true, favor a definition location.

Created with MrDocs