We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6164b13 commit 926564cCopy full SHA for 926564c
cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked/test.cpp
@@ -131,7 +131,7 @@ void join_threads(std::thread *threads) {
131
132
void f11() {
133
std::thread threads[5];
134
- std::mutex m1; // NON_COMPLIANT (FALSE POSITIVE)
+ std::mutex m1; // COMPLIANT[FALSE_POSITIVE]
135
136
for (int i = 0; i < 5; ++i) {
137
threads[i] = std::thread(t1, i, &m1);
0 commit comments