mrdocs::getPrimaryLocation

getPrimaryLocation overloads

Synopses

Determine a location to use when none is explicitly chosen.

Choose the best location to display for a symbol.

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