[PATCH] D31308: [clang-tidy] new check readability-no-alternative-tokens

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 14 07:33:17 PDT 2018


alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
Herald added a subscriber: xazax.hun.

As noted above, my concern with the current implementation is that the use of AST in this check seems to be superfluous. It should be enough to handle PPCallbacks and re-lex each file opened during compilation to find all alternative tokens.


https://reviews.llvm.org/D31308





More information about the cfe-commits mailing list