diff options
author | Vedant Kumar <vsk@apple.com> | 2017-11-29 22:25:14 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-11-29 22:25:14 +0000 |
commit | fa8fa044ec46b94e64971efa8852df0d58114062 (patch) | |
tree | b18f5c989ffaf3cf210563d8a7465464671d02f7 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 92ce4bcfd848150ca9a9137daf69fdb027f9fa54 (diff) | |
download | llvm-fa8fa044ec46b94e64971efa8852df0d58114062.zip llvm-fa8fa044ec46b94e64971efa8852df0d58114062.tar.gz llvm-fa8fa044ec46b94e64971efa8852df0d58114062.tar.bz2 |
[Coverage] Emit gap areas in braces-optional statements (PR35387)
Emit a gap area starting after the r-paren location and ending at the
start of the body for the braces-optional statements (for, for-each,
while, etc). The count for the gap area equal to the body's count. This
extends the fix in r317758.
Fixes PR35387, rdar://35570345
Testing: stage2 coverage-enabled build of clang, check-clang
llvm-svn: 319373
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions