llvm-project/clang
Aaron Ballman 47b8424a53 Correct the diagnostic behavior for unreachable _Generic associations in C++
New diagnostics were added for unreachable generic selection expression
associations in ca75ac5f04, but it did
not account for a difference in behavior between C and C++ regarding
lvalue to rvalue conversions. So we would issue diagnostics about a
selection being unreachable and then reach it. This corrects the
diagnostic behavior in that case.

Differential Revision: https://reviews.llvm.org/D125882
2022-05-18 12:45:38 -04:00
..
bindings Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
cmake [CMake] Disable libedit in Fuchsia toolchain 2022-05-13 10:47:12 -07:00
docs [ARM] Don't Enable AES Pass for Generic Cores 2022-05-18 13:10:31 +01:00
examples
include [clang][analyzer][ctu] Make CTU a two phase analysis 2022-05-18 10:35:52 +02:00
lib Correct the diagnostic behavior for unreachable _Generic associations in C++ 2022-05-18 12:45:38 -04:00
runtime Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
test Correct the diagnostic behavior for unreachable _Generic associations in C++ 2022-05-18 12:45:38 -04:00
tools Add ThreadPriority::Low, and use QoS class Utility on Mac 2022-05-16 10:01:49 +02:00
unittests [clang][ASTImporter] Add isNewDecl 2022-05-18 10:35:52 +02:00
utils [RISCV][NFC] Rename variable in RISCVVEmitter.cpp 2022-05-18 23:14:29 +08:00
www
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.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/