[PATCH] D25539: [Coverage] Support for C++17 switch initializers

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 11:11:37 PDT 2016


vsk updated the summary for this revision.
vsk updated this revision to Diff 74552.
vsk added a comment.

Per @arphaman's comments:

- Add a CodeGenPGO test which checks whether counters can be created for statements inside of switch initializers.
- Group calls to 'Visit' together.


https://reviews.llvm.org/D25539

Files:
  lib/CodeGen/CodeGenPGO.cpp
  lib/CodeGen/CoverageMappingGen.cpp
  test/CoverageMapping/switch.c
  test/CoverageMapping/switch.cpp
  test/Profile/cxx-stmt-initializers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25539.74552.patch
Type: text/x-patch
Size: 4693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161013/fe41dce6/attachment.bin>


More information about the cfe-commits mailing list