[PATCH] D27918: [analyzer] OStreamChecker

Endre Fülöp via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 04:58:45 PST 2017


gamesh411 added a comment.

Hello,
This checker was developed indeed with internal usage in mind. It should not necessary be added as a default checker. However I have run it on the boost-1.63.0 codebase, and there some some mildly interesting findings in examples and tests. There is also a true positive result in the core codebase.

As for the patter described above, it certainly is a possible use-case to set streams inside functions, but very few ( if any ) false positives was found thanks to that, and the main case for them was that I could not run the cross-TU analyzer (boosts bjam build system proved to be reluctant to work together with ClangSA).


https://reviews.llvm.org/D27918





More information about the cfe-commits mailing list