This adds two visitors to the checker:
- trackExpressionValue() in order to highlight where does the return value come from when it's not a literal.
- A tag-based visitor (as in D58367) that explains where parameters are deallocated.
Paths
| Differential D58368
[analyzer] MIGChecker: Implement bug reporter visitors. ClosedPublic Authored by NoQ on Feb 18 2019, 9:09 PM.
Details Summary This adds two visitors to the checker:
Diff Detail Event TimelineNoQ added a parent revision: D58367: [analyzer] NFC: Improve upon the concept of BugReporterVisitor..Feb 18 2019, 9:09 PM NoQ added a parent revision: D58366: [analyzer] MIGChecker: Make use of the server routine annotation.. Comment Actions Looks good to me. I have some a minor diagnostic wording suggestion in line.
This revision is now accepted and ready to land.Feb 19 2019, 9:02 PM Charusso added inline comments.
This revision now requires changes to proceed.Feb 20 2019, 12:57 PM
Comment Actions Thx!
NoQ mentioned this in D57558: [analyzer] MIGChecker: A checker for Mach Interface Generator calling convention..Feb 21 2019, 3:00 PM NoQ marked 3 inline comments as done. NoQ added inline comments. Closed by commit rL354641: [analyzer] MIGChecker: Improve intermediate diagnostic notes. (authored by NoQ). · Explain Why This revision was automatically updated to reflect the committed changes. NoQ removed a parent revision: D58367: [analyzer] NFC: Improve upon the concept of BugReporterVisitor..Feb 21 2019, 4:21 PM Comment Actions
Thanks you! I wanted to accept it when you remove it from the review-chain and after rewriting the summary. The latter is not that big deal, just wanted to let you know it remained the same.
Revision Contents
Diff 187873 clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
clang/test/Analysis/mig.mm
|
; is not necessary.