llvm-project/clang/test/CoverageMapping
Zequan Wu 4dc08cc3aa [Coverage] Propogate counter to condition of conditional operator
Clang usually propagates counter mapping region for conditions of `if`, `while`,
`for`, etc from parent counter. We should do the same for condition of conditional operator.

Differential Revision: https://reviews.llvm.org/D95918
2021-02-03 13:33:22 -08:00
..
Inputs [Coverage] Adjust skipped regions only if {Prev,Next}TokLoc is in the same file as regions' {start, end}Loc 2020-08-18 13:26:19 -07:00
abspath.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
block-storage-starts-region.m [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
branch-constfolded.cpp [Coverage] Fix test failures from commit rG9f2967bcfe2f 2021-01-05 13:35:52 -06:00
branch-logical-mixed.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
branch-macros.cpp [Coverage] Fix test failures from commit rG9f2967bcfe2f 2021-01-05 13:35:52 -06:00
branch-mincounters.cpp [Coverage] Fix test failures from commit rG9f2967bcfe2f 2021-01-05 13:35:52 -06:00
branch-templates.cpp [Coverage] Fix test failures from commit rG9f2967bcfe2f 2021-01-05 13:35:52 -06:00
break.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
builtinmacro.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
casts.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
classtemplate.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
comment-in-macro.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
comment.cpp [Coverage] Adjust skipped regions only if {Prev,Next}TokLoc is in the same file as regions' {start, end}Loc 2020-08-18 13:26:19 -07:00
continue.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
control-flow-macro.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
coroutine.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
decl.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
default-method.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
deferred-region.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
empty-destructor.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
header.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
if.cpp [Coverage] Propogate counter to condition of conditional operator 2021-02-03 13:33:22 -08:00
implicit-def-in-macro.m [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
include-macros.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
includehell.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
ir.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
label.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
lambda.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
logical.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
loopmacro.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
loops.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
macro-expansion.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
macro-expressions.cpp [Coverage] Propogate counter to condition of conditional operator 2021-02-03 13:33:22 -08:00
macro-stringize-twice.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
macroception.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
macroparams.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
macroparams2.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
macros.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
macroscopes.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
md.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
moremacros.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
nestedclass.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
objc.m [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
openmp.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
pr32679.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
preprocessor.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
return.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
switch.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
switchmacro.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
system_macro.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
templates.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
test.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
trycatch.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
trymacro.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
unreachable-macro.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
unused_function.cpp [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
unused_names.c [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
while.c [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00