clang-tools
3.9.0
|
Functions | |
Token | getPreviousNonCommentToken (const ASTContext &Context, SourceLocation Location) |
Returns previous non-comment token skipping over any comment text or tok::unknown if not found. More... | |
Token clang::tidy::utils::lexer::getPreviousNonCommentToken | ( | const ASTContext & | Context, |
SourceLocation | Location | ||
) |
Returns previous non-comment token skipping over any comment text or tok::unknown
if not found.
Definition at line 17 of file LexerUtils.cpp.
Referenced by clang::tidy::utils::fixit::changeVarDeclToReference(), and clang::tidy::misc::SuspiciousSemicolonCheck::check().