[PATCH] D150126: [clang-tidy][WIP] Set traversal scope to prevent analysis in headers

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 21 14:06:04 PDT 2023


PiotrZSL added a comment.

I love an idea, but i'm afraid that it may impact checks that build some internal database, like  misc-confusable-identifiers or misc-unused-using-decls.
Probably some of those checks would need to be rewrite to use some own visitor. And probably we should have access to that Cache (function that check if location should be ignored) from a check code, in such case in some cases it could be used instead of re-inventing a wheal.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150126/new/

https://reviews.llvm.org/D150126



More information about the cfe-commits mailing list