mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
clang-tidy: restore 'misc-noexcept-move-constructor'
We disabled this in commit 1fe0d72eb6
(clang-tidy: exclude
'misc-noexcept-move-constructor', 2018-09-24) due to false positives.
Restore it and use a NOLINT comment to suppress them instead.
This commit is contained in:
parent
6c2af9d302
commit
3c8187f687
@ -5,7 +5,6 @@ misc-*,\
|
||||
-misc-incorrect-roundings,\
|
||||
-misc-macro-parentheses,\
|
||||
-misc-misplaced-widening-cast,\
|
||||
-misc-noexcept-move-constructor,\
|
||||
-misc-static-assert,\
|
||||
modernize-*,\
|
||||
-modernize-deprecated-headers,\
|
||||
|
@ -124,9 +124,11 @@ public:
|
||||
|
||||
// Backtraces may be copied, moved, and assigned as values.
|
||||
cmListFileBacktrace(cmListFileBacktrace const&) = default;
|
||||
cmListFileBacktrace(cmListFileBacktrace&&) noexcept = default;
|
||||
cmListFileBacktrace(cmListFileBacktrace&&) // NOLINT(clang-tidy)
|
||||
noexcept = default;
|
||||
cmListFileBacktrace& operator=(cmListFileBacktrace const&) = default;
|
||||
cmListFileBacktrace& operator=(cmListFileBacktrace&&) noexcept = default;
|
||||
cmListFileBacktrace& operator=(cmListFileBacktrace&&) // NOLINT(clang-tidy)
|
||||
noexcept = default;
|
||||
~cmListFileBacktrace() = default;
|
||||
|
||||
cmStateSnapshot GetBottom() const;
|
||||
|
Loading…
Reference in New Issue
Block a user