-
- Downloads
[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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319373 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CoverageMappingGen.cpp 61 additions, 9 deletionslib/CodeGen/CoverageMappingGen.cpp
- test/CoverageMapping/break.c 4 additions, 4 deletionstest/CoverageMapping/break.c
- test/CoverageMapping/continue.c 1 addition, 1 deletiontest/CoverageMapping/continue.c
- test/CoverageMapping/if.cpp 7 additions, 0 deletionstest/CoverageMapping/if.cpp
- test/CoverageMapping/includehell.cpp 21 additions, 21 deletionstest/CoverageMapping/includehell.cpp
- test/CoverageMapping/label.cpp 1 addition, 1 deletiontest/CoverageMapping/label.cpp
- test/CoverageMapping/loops.cpp 11 additions, 8 deletionstest/CoverageMapping/loops.cpp
- test/CoverageMapping/macro-expressions.cpp 3 additions, 3 deletionstest/CoverageMapping/macro-expressions.cpp
- test/CoverageMapping/macros.c 1 addition, 1 deletiontest/CoverageMapping/macros.c
- test/CoverageMapping/objc.m 1 addition, 1 deletiontest/CoverageMapping/objc.m
- test/CoverageMapping/return.c 2 additions, 2 deletionstest/CoverageMapping/return.c
- test/CoverageMapping/test.c 1 addition, 1 deletiontest/CoverageMapping/test.c
- test/CoverageMapping/while.c 4 additions, 4 deletionstest/CoverageMapping/while.c
Loading
Please register or sign in to comment