[all-commits] [llvm/llvm-project] 474a2b: [clang-tidy] Add more checks for functions which s...
AMS21 via All-commits
all-commits at lists.llvm.org
Tue Jun 13 12:06:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 474a2b9367ad36213ad8575dc349350fdd8fc8f3
https://github.com/llvm/llvm-project/commit/474a2b9367ad36213ad8575dc349350fdd8fc8f3
Author: AMS21 <AMS21.github at gmail.com>
Date: 2023-06-13 (Tue, 13 Jun 2023)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
M clang-tools-extra/clang-tidy/performance/CMakeLists.txt
A clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp
A clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.h
M clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp
M clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.h
A clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp
A clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.h
M clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
M clang-tools-extra/clang-tidy/utils/ExceptionSpecAnalyzer.cpp
M clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
M clang-tools-extra/clang-tidy/utils/LexerUtils.h
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/noexcept-destructor.rst
A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/noexcept-move-operations.rst
A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/noexcept-swap.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/performance/noexcept-destructor.rst
A clang-tools-extra/docs/clang-tidy/checks/performance/noexcept-swap.rst
A clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-destructor.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-move-constructor.cpp
A clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-swap.cpp
Log Message:
-----------
[clang-tidy] Add more checks for functions which should be noexcept
Added new checks
- `performance-noexcept-destructor`
- `performance-noexcept-swap`
Also added cppcoreguidlines aliases for the 2 new checks as well as `performance-noexcept-move-constructor`
This fixes llvm#62154
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D148697
More information about the All-commits
mailing list