[all-commits] [llvm/llvm-project] c491c9: [clang-tidy] Implement CppCoreGuideline F.18
Chris Cotter via All-commits
all-commits at lists.llvm.org
Sun Mar 12 10:27:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c491c917023905815d6b4b81f4c5f632b02895c3
https://github.com/llvm/llvm-project/commit/c491c917023905815d6b4b81f4c5f632b02895c3
Author: Chris Cotter <ccotter14 at bloomberg.net>
Date: 2023-03-12 (Sun, 12 Mar 2023)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
A clang-tools-extra/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.cpp
A clang-tools-extra/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/rvalue-reference-param-not-moved.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/rvalue-reference-param-not-moved.cpp
Log Message:
-----------
[clang-tidy] Implement CppCoreGuideline F.18
Warn when an rvalue reference function paramter is never moved
from within the function body.
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D141569
More information about the All-commits
mailing list