[PATCH] D106946: [clang-tidy] Fix crash on "reference to array" parameters in 'bugprone-easily-swappable-parameters'
Whisperity via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 28 05:37:32 PDT 2021
whisperity updated this revision to Diff 362340.
whisperity added a comment.
Add a test case where the referenced arrays are deduced from template parameters.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106946/new/
https://reviews.llvm.org/D106946
Files:
clang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106946.362340.patch
Type: text/x-patch
Size: 6006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210728/04a62c2f/attachment.bin>
More information about the cfe-commits
mailing list