[PATCH] D24981: [Coverage] The coverage region for a switch should cover the code after the switch

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 13:27:06 PDT 2016


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

LGTM, thank you!

It makes sense to inherit the current region's counter when we see a new switch. That should fix the 0 execution count we see on the condition.


Repository:
  rL LLVM

https://reviews.llvm.org/D24981





More information about the cfe-commits mailing list