[PATCH] D91495: [clang-tidy] false-positive for bugprone-redundant-branch-condition in case of passed-by-ref params

Zinovy Nis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 10:00:27 PST 2020


zinovy.nis updated this revision to Diff 307646.
zinovy.nis added a comment.

Handle ref & val mixed cases.


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

https://reviews.llvm.org/D91495

Files:
  clang-tools-extra/clang-tidy/bugprone/RedundantBranchConditionCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/bugprone-redundant-branch-condition.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91495.307646.patch
Type: text/x-patch
Size: 6653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201125/7c9abe60/attachment.bin>


More information about the cfe-commits mailing list