llvm-capstone/clang
Joseph Huber c4a2674e21 [Clang] Simplify unifying target features
This patch simplifies how we unify target features. Now we simply
iterate the input in reverse and only insert the feature if it hasn't
been seen yet. The only reason we need to reverse this at the end is to
keep the features in order for the existing tests.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D127707
2022-06-14 15:58:16 -04:00
..
bindings Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
cmake [CMake][compiler-rt] Provide a dedicated option for LLVM unwinder 2022-06-14 17:26:25 +00:00
docs [Diagnostics] Fix inconsistent shift-overflow warnings in C++20 2022-06-14 20:19:46 +05:30
examples clang-analyzer plugins require LLVM_ENABLE_PLUGINS also 2022-02-16 11:59:09 -05:00
include Update ASTImportError.h 2022-06-15 00:45:07 +05:30
lib [Clang] Simplify unifying target features 2022-06-14 15:58:16 -04:00
runtime Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
test [clang] AST/Print: honor AlwaysIncludeTypeForTemplateArgument policy 2022-06-14 18:18:24 +02:00
tools [MC] Fix likely uninitialized memory bug 2022-06-13 07:41:17 -04:00
unittests [Clang][AST] Fixed BindingDecl AST-dump for tuple like structures 2022-06-14 21:13:04 +02:00
utils [clang][tablegen] adds human documentation to WarningOption 2022-06-10 17:23:00 +00:00
www [NFC] Suggest Release mode in clang GettingStarted.html 2022-06-10 11:00:05 +05:30
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "[cmake] Don't export LLVM_TOOLS_INSTALL_DIR anymore" 2022-06-10 19:26:12 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt Replace links to archived mailing lists by links to Discourse forums 2022-03-23 10:10:20 -04:00

//===----------------------------------------------------------------------===//
// 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/