summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--Source/cmListFileCache.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index ebe3c20dc7..8d79b0c5d4 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -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,\
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index faddec7bea..3d3afdf9bb 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;