Skip to content

Commit

Permalink
[MallocChecker] Remove duplicate QCoreApplication::postEvent check. N…
Browse files Browse the repository at this point in the history
…FCI.

This appears to have been in the original patch in D14170.

Reported as "Snippet 11" in https://www.viva64.com/en/b/0771/
  • Loading branch information
RKSimon committed Oct 27, 2020
1 parent 5a85555 commit 2bc2e2e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
Expand Up @@ -3110,11 +3110,6 @@ bool MallocChecker::mayFreeAnyEscapedMemoryOrIsModeledExplicitly(
return true;
}

if (FName == "postEvent" &&
FD->getQualifiedNameAsString() == "QCoreApplication::postEvent") {
return true;
}

if (FName == "connectImpl" &&
FD->getQualifiedNameAsString() == "QObject::connectImpl") {
return true;
Expand Down

0 comments on commit 2bc2e2e

Please sign in to comment.