diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-08-27 13:11:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-27 13:11:34 -0300 |
commit | 249167a8982afc3f55237baf1532c5c8ebd850b3 (patch) | |
tree | d3bca1065eb284eee341921e70f2d6e1147ad2f8 /clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp | |
parent | bcd153083634c9f4d6de45c636a58884623dbc52 (diff) | |
download | llvm-249167a8982afc3f55237baf1532c5c8ebd850b3.zip llvm-249167a8982afc3f55237baf1532c5c8ebd850b3.tar.gz llvm-249167a8982afc3f55237baf1532c5c8ebd850b3.tar.bz2 |
[clang] NFC: reintroduce clang/include/clang/AST/Type.h (#155050)
This reintroduces `Type.h`, having earlier been renamed to `TypeBase.h`,
as a redirection to `TypeBase.h`, and redirects most users to include
the former instead.
This is a preparatory patch for being able to provide inline definitions
for `Type` methods which would otherwise cause a circular dependency
with `Decl{,CXX}.h`.
Doing these operations into their own NFC patch helps the git rename
detection logic work, preserving the history.
This patch makes clang just a little slower to build (~0.17%), just
because it makes more code indirectly include `DeclCXX.h`.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp')
-rw-r--r-- | clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp b/clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp index ec0e02f..45c307d 100644 --- a/clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp +++ b/clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp @@ -17,7 +17,7 @@ #include "clang/AST/Expr.h" #include "clang/AST/ExprCXX.h" #include "clang/AST/Stmt.h" -#include "clang/AST/TypeBase.h" +#include "clang/AST/Type.h" #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/ASTMatchers/ASTMatchersMacros.h" #include "clang/Analysis/CFG.h" |