[PATCH] D146888: [clang-tidy] Flag std::forward on non-forwarding references
Chris Cotter via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 25 15:52:14 PDT 2023
ccotter created this revision.
Herald added subscribers: PiotrZSL, carlosgalvezp, kbarton, xazax.hun, nemanjai.
Herald added a reviewer: njames93.
Herald added a project: All.
ccotter requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Implement the std::forward specific enforcement of ES.56.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146888
Files:
clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
clang-tools-extra/clang-tidy/cppcoreguidelines/ForwardNonForwardingParameterCheck.cpp
clang-tools-extra/clang-tidy/cppcoreguidelines/ForwardNonForwardingParameterCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/forward-non-forwarding-parameter.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/forward-non-forwarding-parameter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146888.508349.patch
Type: text/x-patch
Size: 17088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230325/d9a95780/attachment-0001.bin>
More information about the cfe-commits
mailing list