llvm-project/clang
Reid Kleckner ba1ffd25c1 [OpenMP][NFC] Remove the need to include `OpenMPClause.h`
See rational here: https://reviews.llvm.org/D76173#1922916
Time to compile Attr.h in isolation goes from 2.6s to 1.8s.

Original patch by Johannes, plus some additions from Reid to fix some
clang tooling targets.

Effect on transitive includes is marginal, though:

$ diff -u <(sort thedeps-before.txt) <(sort thedeps-after.txt) \
   | grep '^[-+] ' | sort | uniq -c | sort -nr
    104 -    /usr/local/google/home/rnk/llvm-project/clang/include/clang/AST/OpenMPClause.h
     87 -    /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/Frontend/OpenMP/OMPContext.h
     19 -    /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/ADT/SmallSet.h
     19 -    /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/ADT/SetVector.h
     14 -    /usr/include/c++/9/set
...

Differential Revision: https://reviews.llvm.org/D76184
2020-04-03 13:27:52 -07:00
..
INPUTS
bindings Hopefully fixing a failing build bot. 2020-02-18 11:39:23 -05:00
cmake [CMAKE] Plumb include_directories() into tablegen() 2020-04-03 11:23:38 -07:00
docs [X86] Add Indirect Thunk Support to X86 to mitigate Load Value Injection (LVI) 2020-04-03 00:34:39 -07:00
examples Const-initialize ParsedAttrInfos 2020-03-28 19:04:53 +01:00
include [OpenMP][NFC] Remove the need to include `OpenMPClause.h` 2020-04-03 13:27:52 -07:00
lib [OpenMP][NFC] Remove the need to include `OpenMPClause.h` 2020-04-03 13:27:52 -07:00
runtime
test [X86] Add a Pass that builds a Condensed CFG for Load Value Injection (LVI) Gadgets 2020-04-03 13:02:04 -07:00
tools [OPENMP50]Add initial support for OpenMP 5.0 iterator. 2020-04-02 08:28:15 -04:00
unittests clang-format: [JS] detect C++ keywords. 2020-04-03 14:23:56 +02:00
utils [ARMMVE] Create fewer temporary SmallVectors 2020-03-29 22:31:26 +02:00
www [www] cxx_status: Update Reflection TS to Cologne draft 2020-03-09 14:51:11 -04:00
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitignore
CMakeLists.txt Move CLANG_SYSTEMZ_DEFAULT_ARCH to config.h. 2020-03-30 14:16:17 -04:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt [NFC] test commit reverted 2019-12-21 22:12:07 +04: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 development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

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