ΒΆclang::transformer::RangeSelector name(
    std::string ID)

Description

Given a node with a "name", (like \c NamedDecl, \c DeclRefExpr, \c CxxCtorInitializer, and \c TypeLoc) selects the name's token. Only selects the final identifier of a qualified name, but not any qualifiers or template arguments. For example, for `::foo::bar::baz` and `::foo::bar::baz <int >`, it selects only `baz`.

Declared at: clang/include/clang/Tooling/Transformer/RangeSelector.h:83

Parameters

std::string ID
is the node's binding in the match result.