This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] bugprone-infinite-loop: forFunction() -> forCallable().
ClosedPublic

Authored by NoQ on May 10 2021, 8:26 PM.

Details

Summary

This patch takes advantage of the new ASTMatcher added in D102213 to fix massive false negatives of the infinite loop checker on Objective-C.

Diff Detail

Event Timeline

NoQ created this revision.May 10 2021, 8:26 PM
NoQ requested review of this revision.May 10 2021, 8:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2021, 8:26 PM
steveire edited reviewers, added: steveire; removed: stephenkelly.May 11 2021, 2:02 AM
vsavchenko accepted this revision.May 13 2021, 10:44 AM

Now, when we are done with forCallable, let's get to this one.
It looks great to me, thanks for fixing it!

This revision is now accepted and ready to land.May 13 2021, 10:44 AM
This revision was landed with ongoing or failed builds.May 13 2021, 11:25 AM
This revision was automatically updated to reflect the committed changes.