This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Fix GCDAntipatternChecker to only fire when the semaphore is initialized to zero
ClosedPublic

Authored by george.karpenkov on Jul 3 2018, 6:47 PM.

Diff Detail

Repository
rC Clang

Event Timeline

NoQ accepted this revision.Jul 12 2018, 11:50 AM
NoQ added inline comments.
lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
96–99

I suspect that allOf can be omitted here.

This revision is now accepted and ready to land.Jul 12 2018, 11:50 AM
This revision was automatically updated to reflect the committed changes.