Skip to content

Commit 021dd10

Browse files
committed
ThreadExecutor: transfer back all inline suppressions
1 parent e2f5ac3 commit 021dd10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/threadexecutor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ class ThreadData
128128
// TODO: call analyseClangTidy()?
129129
}
130130
for (const auto& suppr : fileChecker.settings().supprs.nomsg.getSuppressions()) {
131-
// need to transfer unusedFunction suppressions because these are handled later on
132-
if (suppr.isInline && suppr.errorId == "unusedFunction") {
131+
// need to transfer all inline suppressions because these are used later on
132+
if (suppr.isInline) {
133133
mSuppressions.addSuppression(suppr); // TODO: check result
134134
continue;
135135
}

0 commit comments

Comments
 (0)