diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-08-17 03:32:07 +0300 |
---|---|---|
committer | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-08-17 14:57:59 +0300 |
commit | 27d37ee4d067f42e9a46a0871d3cb961323e5c85 (patch) | |
tree | bf9a164b1dd7c1037a152b106ce4ae46e90dd189 /clang/lib/Parse/ParseExpr.cpp | |
parent | 0da2ba811ac8a01509bc533428941fb9519c0715 (diff) | |
download | llvm-27d37ee4d067f42e9a46a0871d3cb961323e5c85.zip llvm-27d37ee4d067f42e9a46a0871d3cb961323e5c85.tar.gz llvm-27d37ee4d067f42e9a46a0871d3cb961323e5c85.tar.bz2 |
[clang][NFC] Clean up `Sema` headers
When various `Sema*.h` and `Sema*.cpp` files were created, cleanup of
`Sema.h` includes and forward declarations was left for the later.
Now's the time. This commit touches `Sema.h` and Sema components:
1. Unused includes are removed.
2. Unused forward declarations are removed.
3. Missing includes are added (those files are largely IWYU-clean now).
4. Includes were converted into forward declarations where possible.
As this commit focuses on headers, all changes to `.cpp` files were
minimal, and were aiming at keeping everything buildable.
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index b8e15b1..1405aef 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -21,7 +21,9 @@ //===----------------------------------------------------------------------===// #include "clang/AST/ASTContext.h" +#include "clang/AST/Availability.h" #include "clang/AST/ExprCXX.h" +#include "clang/AST/LocInfoType.h" #include "clang/Basic/PrettyStackTrace.h" #include "clang/Lex/LiteralSupport.h" #include "clang/Parse/Parser.h" |