diff options
author | Brad King <brad.king@kitware.com> | 2018-09-26 10:38:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-26 10:38:52 (GMT) |
commit | 3c8187f68730b180cd6fad898eb81bdeaf488bb8 (patch) | |
tree | 15771eb73fdab86d3806e1120670b7f9a52f0710 /Source/cmListFileCache.h | |
parent | 6c2af9d302f1c893219f2aad014a2b183bb438a1 (diff) | |
download | CMake-3c8187f68730b180cd6fad898eb81bdeaf488bb8.zip CMake-3c8187f68730b180cd6fad898eb81bdeaf488bb8.tar.gz CMake-3c8187f68730b180cd6fad898eb81bdeaf488bb8.tar.bz2 |
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.
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r-- | Source/cmListFileCache.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h index faddec7..3d3afdf 100644 --- a/Source/cmListFileCache.h +++ b/Source/cmListFileCache.h @@ -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; |