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/tools/libclang/CIndexCodeCompletion.cpp | |
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/tools/libclang/CIndexCodeCompletion.cpp')
-rw-r--r-- | clang/tools/libclang/CIndexCodeCompletion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/CIndexCodeCompletion.cpp b/clang/tools/libclang/CIndexCodeCompletion.cpp index 6d14f28..207144f 100644 --- a/clang/tools/libclang/CIndexCodeCompletion.cpp +++ b/clang/tools/libclang/CIndexCodeCompletion.cpp @@ -20,7 +20,7 @@ #include "CXTranslationUnit.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" -#include "clang/AST/Type.h" +#include "clang/AST/TypeBase.h" #include "clang/Basic/FileManager.h" #include "clang/Basic/SourceManager.h" #include "clang/Frontend/ASTUnit.h" |