ΒΆconst clang::NamedDecl*
getCanonicalSymbolDeclaration(
    const clang::NamedDecl* FoundDecl)

Description

Returns the canonical declaration that best represents a symbol that can be renamed. The following canonicalization rules are currently used: - A constructor is canonicalized to its class. - A destructor is canonicalized to its class.

Declared at: clang/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h:37

Parameters

const clang::NamedDecl* FoundDecl