[PATCH] D25731: [analyzer] NumberObjectConversion: Support OSNumber and CFNumberRef.

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 11:51:39 PDT 2016


alexshap added inline comments.


================
Comment at: lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp:149
                                                      BugReporter &BR) const {
   MatchFinder F;
   Callback CB(this, BR, AM.getAnalysisDeclContext(D));
----------------
probably it would make sense to move "MatchFinder F;" to the line 276 (closer to the place where it's actually being used)(or maybe i'm missing smth ?) 


https://reviews.llvm.org/D25731





More information about the cfe-commits mailing list