[PATCH] D31541: [analyzer] MisusedMovedObjectChecker: Add a printState() method.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 04:17:49 PDT 2017


NoQ added a comment.

Hmm, i've been thinking of writing a test for this via `ExprInspection`'s `clang_analyzer_printState()`, however `printState()` functionality is only enabled in debug builds, and i'm not seeing how to enable the test only on debug builds (there's `REQUIRES:` but it only seems to have an asserts flag).


https://reviews.llvm.org/D31541





More information about the cfe-commits mailing list