diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-08-27 13:09:48 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-27 13:09:48 -0300 |
commit | bcd153083634c9f4d6de45c636a58884623dbc52 (patch) | |
tree | 66d9efb691f8a5e570501ea318bc2eda63488a7d /clang/lib/CodeGen/CodeGenFunction.h | |
parent | ab459c47d354614dcdc3d6f5045c22e5eb4a0b3f (diff) | |
download | llvm-bcd153083634c9f4d6de45c636a58884623dbc52.zip llvm-bcd153083634c9f4d6de45c636a58884623dbc52.tar.gz llvm-bcd153083634c9f4d6de45c636a58884623dbc52.tar.bz2 |
[clang] NFC: rename clang/include/clang/AST/Type.h to TypeBase.h (#155049)
This is a preparatory patch, to be able to provide inline definitions
for `Type` functions which depend on `Decl{,CXX}.h`. As the latter also
depends on `Type.h`, this would not be possible without some
reorganizing.
Splitting this rename into its own patch allows git to track this as a
rename, and preserve all git history, and not force any code
reformatting.
A later NFC patch will reintroduce `Type.h` as redirection to
`TypeBase.h`, rewriting most places back to directly including `Type.h`
instead of `TypeBase.h`, leaving only a handful of places where this is
necessary.
Then yet a later patch will exploit this by making more stuff inline.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index a562a6a..e9e9271 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -28,7 +28,7 @@ #include "clang/AST/StmtOpenACC.h" #include "clang/AST/StmtOpenMP.h" #include "clang/AST/StmtSYCL.h" -#include "clang/AST/Type.h" +#include "clang/AST/TypeBase.h" #include "clang/Basic/ABI.h" #include "clang/Basic/CapturedStmt.h" #include "clang/Basic/CodeGenOptions.h" |