summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-11-09 02:33:39 +0000
committerVedant Kumar <vsk@apple.com>2017-11-09 02:33:39 +0000
commit8046d22a36eeed2bf38d17006daf486acf520f7e (patch)
tree7f01bc7f5418254926c289b71a661a0ed324a8d9 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent2e8c87590546477736d6744edf8f5cf48bf1ef41 (diff)
downloadbcm5719-llvm-8046d22a36eeed2bf38d17006daf486acf520f7e.tar.gz
bcm5719-llvm-8046d22a36eeed2bf38d17006daf486acf520f7e.zip
[Coverage] Complete top-level deferred regions before labels
The area immediately after a terminated region in the function top-level should have the same count as the label it precedes. This solves another problem with wrapped segments. Consider: 1| a: 2| return 0; 3| b: 4| return 1; Without a gap area starting after the first return, the wrapped segment from line 2 would make it look like line 3 is executed, when it's not. rdar://35373009 llvm-svn: 317759
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud