llvm-capstone/clang
Takuya Shimizu b2cd9db589 [clang][Sema] Remove irrelevant diagnostics from constraint satisfaction failure
BEFORE this patch, when clang handles constraints like C1 || C2 where C1 evaluates to false and C2 evaluates to true, it emitted irrelevant diagnostics about the falsity of C1.
This patch removes the irrelevant diagnostic information generated during the evaluation of C1 if C2 evaluates to true.

Fixes https://github.com/llvm/llvm-project/issues/54678

Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D157526
2023-09-18 18:14:44 +09:00
..
bindings
cmake [Fuchsia] Support building runtimes for RISC-V on Linux (#66025) 2023-09-11 20:20:24 -07:00
docs [clang][Sema] Remove irrelevant diagnostics from constraint satisfaction failure 2023-09-18 18:14:44 +09:00
examples Fix examples after C2x renaming 2023-08-11 08:01:17 -04:00
include [clang-transformer] Allow stencils to read from system headers. (#66480) 2023-09-18 10:07:30 +02:00
lib [clang][Sema] Remove irrelevant diagnostics from constraint satisfaction failure 2023-09-18 18:14:44 +09:00
runtime [NFC][cmake] Sort COMPILER_RT_TEST_SUITES 2023-09-10 16:51:38 -07:00
test [clang][Sema] Remove irrelevant diagnostics from constraint satisfaction failure 2023-09-18 18:14:44 +09:00
tools [NFC][CodeGen] Change CodeGenOpt::Level/CodeGenFileType into enum classes (#66295) 2023-09-14 14:10:14 -07:00
unittests [clang][dataflow] Model the fields that are accessed via inline accessors (#66368) 2023-09-18 10:46:36 +02:00
utils Fix NATVIS visualization of ActionResult 2023-09-12 17:00:38 -04:00
www [C23] Remove N2713 from the list 2023-09-14 12:08:51 -04:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
CodeOwners.rst Add my Discord, IRC, and Discourse handles 2023-08-04 09:12:14 -04:00
INSTALL.txt
LICENSE.TXT
NOTES.txt Revert "Test commit config" 2023-08-22 16:43:34 -07:00
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/