Skip to content

Commit 4361dbe

Browse files
committed
Remove some false-positives from clang-tidy warnings
1 parent 724f676 commit 4361dbe

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.clang-tidy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,8 @@ CheckOptions:
8787
value: 100
8888
- key: readability-function-cognitive-complexity.IgnoreMacros
8989
value: true
90+
- key: cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove
91+
value: true
92+
- key: bugprone-empty-catch.IgnoreCatchWithKeywords
93+
value: "@todo;@fixme;exception ignored on purpose"
9094
...

src/node-persistent-cache.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ node_persistent_cache::~node_persistent_cache() noexcept
5555
try {
5656
log_debug("Removing persistent node cache at '{}'.", m_file_name);
5757
} catch (...) {
58+
// exception ignored on purpose
5859
}
5960
unlink(m_file_name.c_str());
6061
}

0 commit comments

Comments
 (0)