llvm-project/clang/test/CoverageMapping
Corentin Jabot 463e30f51f [Clang] Fix crash in coverage of if consteval.
Clang crashes when encountering an `if consteval` statement.
This is the minimum fix not to crash.
The fix is consistent with the current behavior of if constexpr,
which does generate coverage data for the discarded branches.
This is of course not correct and a better solution is
needed for both if constexpr and if consteval.
See https://github.com/llvm/llvm-project/issues/54419.

Fixes #57377

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D132723
2022-08-26 17:46:53 +02:00
..
Inputs
abspath.cpp Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
block-storage-starts-region.m Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
branch-constfolded.cpp
branch-logical-mixed.cpp
branch-macros.cpp
branch-mincounters.cpp
branch-templates.cpp
break.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
builtinmacro.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
casts.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
classtemplate.cpp
comment-in-macro.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
comment.cpp
continue.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
control-flow-macro.c
coroutine.cpp [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
decl.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
default-method.cpp
empty-destructor.cpp
header.cpp
if.cpp [Clang] Fix crash in coverage of if consteval. 2022-08-26 17:46:53 +02:00
implicit-def-in-macro.m Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
include-macros.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
includehell.cpp
ir.c [Test] Use cc1 instead of mllvm -opaque-pointers option (NFC) 2022-04-05 12:04:48 +02:00
label.cpp
lambda.cpp
logical.cpp
loopmacro.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
loops.cpp
macro-expansion.c
macro-expressions.cpp
macro-stringize-twice.cpp
macroception.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
macroparams.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
macroparams2.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
macros.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
macroscopes.cpp
md.cpp
moremacros.c
nestedclass.cpp
objc.m
openmp.c
pr32679.cpp
preprocessor.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
return.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
switch.cpp
switchmacro.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
system_macro.cpp
templates.cpp
terminate-statements.cpp
test.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
trycatch.cpp
trymacro.cpp
unreachable-macro.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
unused_function.cpp
unused_names.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
while.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00