[PATCH] D97361: [clang-tidy] Add readability-redundant-using check
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 26 00:53:15 PST 2021
balazske added a comment.
There should be already a name lookup implemented somewhere in clang (`DeclContext`? or Sema) that maybe usable here (check if the name of the "used" entity is visible in the declaration context of the `using` statement). Probably it is not as simple to do because the `using` is already there and it may depend on the order.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97361/new/
https://reviews.llvm.org/D97361
More information about the cfe-commits
mailing list