llvm/clang
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
..
bindings Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
cmake [CMake][Fuchsia] Enable assertions and backtraces in stage 1 build 2022-07-26 06:09:38 +00:00
docs [Clang] Fix crash in coverage of if consteval. 2022-09-12 12:54:20 +02:00
examples
include [clang] Add __is_target_variant_{os,environment} builtins 2022-09-02 08:06:26 +02:00
lib [Clang] Fix crash in coverage of if consteval. 2022-09-12 12:54:20 +02:00
runtime
test [Clang] Fix crash in coverage of if consteval. 2022-09-12 12:54:20 +02:00
tools [NFC] Fix a misleading comment CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION 2022-08-25 09:57:30 +02:00
unittests [clang-format] Distinguish logical and after bracket from reference 2022-09-08 08:49:27 +02:00
utils [clang][SVE] Undefine preprocessor macro defined in 2022-08-17 10:56:17 +02:00
www [clang] [docs] Update the changes of C++20 Modules in clang15 2022-07-26 18:47:53 +08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt SONAME introduce option CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION 2022-08-25 09:39:40 +02:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/