checkSymbolAccess

Check if a symbol is visible from a given scope without taking into account the most visible overload.

bool
checkSymbolAccess

Parameters

sc
Type: Scope*

lookup scope

s
Type: Dsymbol

symbol to check for visibility

Return Value

Type: bool

true if s is visible by origin

Meta