[PATCH] D49811: [analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 25 13:14:28 PDT 2018


NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.

Yet another great catch!

I guess you could write a test with `debug.AnalysisOrder` (by making its `checkEndFunction` callback (that you'll have to define) print different things depending on the return statement), not sure if it's worth it; you can also merge this commit with https://reviews.llvm.org/D49361 instead.


Repository:
  rC Clang

https://reviews.llvm.org/D49811





More information about the cfe-commits mailing list