llvm/clang/test
Corentin Jabot 3a08ad21ce [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-09-12 12:54:20 +02:00
..
Analysis [analyzer] Improve loads from reinterpret-cast fields 2022-07-26 12:31:21 +02:00
APINotes
ARCMT
AST Revert "[clang] Pass FoundDecl to DeclRefExpr creator for operator overloads" 2022-08-11 09:08:23 +02:00
ASTMerge
C/drs Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
clang-rename
ClangScanDeps [clang][deps] Fix handling of -MT in module command-line 2022-07-13 13:36:15 -07:00
CodeCompletion
CodeGen [clang][RISCV] Fix incorrect ABI lowering for inherited structs under hard-float ABIs 2022-08-22 11:35:31 +02:00
CodeGenCoroutines [coroutine] add nomerge function attribute to llvm.coro.save 2022-07-12 10:39:38 -07:00
CodeGenCUDA [CUDA][FIX] Make shfl[_sync] for unsigned long long non-recursive 2022-07-21 12:36:54 -05:00
CodeGenCUDASPIRV [CUDA/SPIR-V] Force passing aggregate type byval 2022-07-22 20:30:15 +00:00
CodeGenCXX [C++20] [Modules] Handle initializer for Header Units 2022-08-08 11:31:42 -07:00
CodeGenHIP
CodeGenHLSL
CodeGenObjC Fix crash in ObjC codegen introduced with 5ab6ee7599 2022-07-24 13:59:45 +01:00
CodeGenObjCXX [WinEH] Apply funclet operand bundles to nounwind intrinsics that lower to function calls in the course of IR transforms 2022-07-26 17:52:43 +02:00
CodeGenOpenCL Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
CodeGenOpenCLCXX
CodeGenSYCL
Coverage
CoverageMapping [Clang] Fix crash in coverage of if consteval. 2022-09-12 12:54:20 +02:00
CXX [C++20][Modules] Update ADL to handle basic.lookup.argdep p4 [P1815R2 part 1] 2022-07-25 14:28:59 +01:00
Driver [CUDA] Fix output name being replaced in device-only mode 2022-08-23 19:10:03 +02:00
ExtractAPI
FixIt Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
Format
Frontend [AMDGPU] Add remarks to output some resource usage 2022-07-15 11:01:53 -07:00
Headers Inliner: don't mark call sites as 'nounwind' if that would be redundant 2022-07-20 14:17:23 +02:00
Import
Index Revert "[clang] Pass FoundDecl to DeclRefExpr creator for operator overloads" 2022-08-11 09:08:23 +02:00
Integration
InterfaceStubs
Interpreter [CodeGen] Consider MangleCtx when move lazy emission States 2022-07-26 12:34:03 +08:00
Layout Revert "[clang] Implement ElaboratedType sugaring for types written bare" 2022-07-14 21:17:48 -07:00
Lexer [Clang] Add support for Unicode identifiers (UAX31) in C2x mode. 2022-07-23 14:08:08 +02:00
LibClang
Misc Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
Modules [C++20] [Modules] Merge same concept decls in global module fragment 2022-08-08 11:31:42 -07:00
OpenMP [Clang][OpenMP] Fix the issue that llvm.lifetime.end is emitted too early for variables captured in linear clause 2022-08-15 09:31:02 +02:00
Parser Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
ParserHLSL
ParserSYCL
PCH [clang] Require strict matches for defines for PCH in GCC style directories 2022-08-12 08:35:33 +02:00
Preprocessor [clang] Add __is_target_variant_{os,environment} builtins 2022-09-02 08:06:26 +02:00
Profile
Refactor
Rewriter
Sema [clang][AArch64][SVE] Add unary +/- operators for SVE types 2022-08-15 09:30:54 +02:00
SemaCUDA
SemaCXX [clang] Skip re-building lambda expressions in parameters to consteval fns. 2022-09-08 08:49:36 +02:00
SemaHLSL Revert "[clang] Implement ElaboratedType sugaring for types written bare" 2022-07-14 21:17:48 -07:00
SemaObjC Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
SemaObjCXX Revert "[clang] Implement ElaboratedType sugaring for types written bare" 2022-07-14 21:17:48 -07:00
SemaOpenCL Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
SemaOpenCLCXX
SemaSYCL Revert "[clang] Implement ElaboratedType sugaring for types written bare" 2022-07-14 21:17:48 -07:00
SemaTemplate Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
TableGen
Templight
Tooling
Unit
utils/update_cc_test_checks update-test-checks: safely handle tests with #if's 2022-07-20 11:23:49 +02:00
VFS Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh