[PATCH] D72282: [clang-tidy] Add `bugprone-unintended-adl`
Logan Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 12:32:35 PST 2020
logan-5 updated this revision to Diff 236884.
logan-5 marked 15 inline comments as done.
logan-5 added a comment.
Beefed up tests and split into separate files. Added tests for instantiations of template functions that //do// definitely result in ADL, and made the warning messages more descriptive in those cases (listing out concrete types of arguments in a note).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72282/new/
https://reviews.llvm.org/D72282
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/UnintendedADLCheck.cpp
clang-tools-extra/clang-tidy/bugprone/UnintendedADLCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unintended-adl.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone-unintended-adl-generic-lambdas.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-unintended-adl-operators.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-unintended-adl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72282.236884.patch
Type: text/x-patch
Size: 18528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200108/f2e7c4bf/attachment-0001.bin>
More information about the cfe-commits
mailing list