[clang-tidy] Refactor common code from the Noexcept*Checks into `NoexceptFunctionCheck`
authorAMS21 <AMS21.github@gmail.com>
Sun, 18 Jun 2023 06:50:05 +0000 (06:50 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Sun, 18 Jun 2023 06:50:05 +0000 (06:50 +0000)
commit845618cf69e89313084a4e93f8ff31d8e6ea4499
tree8122fc1b89716ef4b873e8435c4f5f265e29727b
parent7400bdc19f9bc48bc2f3f663f803ab95a3747297
[clang-tidy] Refactor common code from the Noexcept*Checks into `NoexceptFunctionCheck`

As discussed in the https://reviews.llvm.org/D148697 review.

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D153198
clang-tools-extra/clang-tidy/performance/CMakeLists.txt
clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp
clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.h
clang-tools-extra/clang-tidy/performance/NoexceptFunctionBaseCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/performance/NoexceptFunctionBaseCheck.h [new file with mode: 0644]
clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp
clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.h
clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp
clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.h