ΒΆllvm::ArrayRef<syntax::Token>
spelledTokensTouching(
    clang::SourceLocation Loc,
    const syntax::TokenBuffer& Tokens)

Description

The spelled tokens that overlap or touch a spelling location Loc. This always returns 0-2 tokens.

Declared at: clang/include/clang/Tooling/Syntax/Tokens.h:385

Parameters

clang::SourceLocation Loc
const syntax::TokenBuffer& Tokens