[PATCH] D128715: [clang-tidy] Fix confusable identifiers interaction with DeclContext

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 30 13:44:22 PDT 2022


serge-sans-paille updated this revision to Diff 441505.
serge-sans-paille added a comment.

Update test case to take into accounts  reviewers suggestions.

As a consequence use a more complex approach to detect whether two `NamedDecl` may interfere.


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

https://reviews.llvm.org/D128715

Files:
  clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/misc/confusable-identifiers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128715.441505.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220630/e98160cb/attachment.bin>


More information about the cfe-commits mailing list