[PATCH] D52684: [clang-tidy] NFC refactor lexer-utils slightly to be easier to use

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 1 05:38:37 PDT 2018


JonasToth added a comment.

This patch is related to https://reviews.llvm.org/D51949

To isolate variable declarations (split `int * p, v;` up) it is necessary to do a lot of work with source location and requires some forward and backwards lexing. The functions there just use the LangOpts and the SourceManager and don't have a `ASTContext` available, that why I changed this interface.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52684





More information about the cfe-commits mailing list