llvm-project/clang/lib/Parse
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
..
CMakeLists.txt [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h 2019-12-10 00:10:09 -06:00
ParseAST.cpp [Support] Add TimeTraceScope constructor without detail arg 2019-12-11 14:32:21 +00:00
ParseCXXInlineMethods.cpp Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
ParseDecl.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00
ParseDeclCXX.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00
ParseExpr.cpp [OPENMP50]Allow use of array shaping expression in a list. 2020-03-31 17:15:31 -04:00
ParseExprCXX.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00
ParseInit.cpp [clang][CodeComplete] Support for designated initializers 2020-01-28 16:34:15 +01:00
ParseObjc.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00
ParseOpenMP.cpp [OpenMP][NFC] Remove the need to include `OpenMPClause.h` 2020-04-03 13:27:52 -07:00
ParsePragma.cpp Fix docs and comments for max_tokens_total pragma 2020-02-07 11:37:14 +01:00
ParseStmt.cpp [FPEnv] Extended FPOptions with new attributes 2020-01-26 21:03:53 +07:00
ParseStmtAsm.cpp [Parser] Avoid spurious 'missing template' error in presence of typos. 2020-03-19 16:15:27 +01:00
ParseTemplate.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00
ParseTentative.cpp Form invalid template-id annotations when parsing a construct that is 2020-03-27 20:27:42 -07:00
Parser.cpp Fix crash if base specifier parsing hits an invalid type annotation. 2020-03-30 17:21:40 -07:00