diff options
author | Vedant Kumar <vsk@apple.com> | 2019-11-21 14:17:04 -0800 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2019-12-03 12:35:54 -0800 |
commit | 859bf4d2bea2404bd2eac92451f2db4371ec6eb4 (patch) | |
tree | b27618c806fb6fbbac6b44269e26ff7cd207de66 /clang/lib/CodeGen/CGClass.cpp | |
parent | bf830b01a21e6ff2f44c17be4ad4ee897465a677 (diff) | |
download | bcm5719-llvm-859bf4d2bea2404bd2eac92451f2db4371ec6eb4.tar.gz bcm5719-llvm-859bf4d2bea2404bd2eac92451f2db4371ec6eb4.zip |
[Coverage] Emit a gap region to cover switch bodies
Emit a gap region beginning where the switch body begins. This sets line
execution counts in the areas between non-overlapping cases to 0.
This also removes some special handling of the first case in a switch:
these are now treated like any other case.
This does not resolve an outstanding issue with case statement regions
that do not end when a region is terminated. But it should address
llvm.org/PR44011.
Differential Revision: https://reviews.llvm.org/D70571
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions