[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`.
This commit is contained in:
parent
bcd1530836
commit
249167a898
@ -14,7 +14,7 @@
|
||||
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_REPRESENTATION_H
|
||||
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_REPRESENTATION_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
#include "clang/Tooling/StandaloneExecution.h"
|
||||
#include "llvm/ADT/APSInt.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "SymbolInfo.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/Tooling/Tooling.h"
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
#include "CastingThroughVoidCheck.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/OperationKinds.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersMacros.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include "../utils/OptionsUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "llvm/ADT/APSInt.h"
|
||||
|
||||
@ -14,7 +14,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/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include "UnintendedCharOstreamOutputCheck.h"
|
||||
#include "../utils/Matchers.h"
|
||||
#include "../utils/OptionsUtils.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "../utils/OptionsUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/ASTTypeTraits.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersMacros.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "../utils/LexerUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include <optional>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersInternal.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include "UseNodiscardCheck.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
|
||||
using namespace clang::ast_matchers;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersInternal.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprObjC.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "../utils/OptionsUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/ASTTypeTraits.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include "SuspiciousCallArgumentCheck.h"
|
||||
#include "../utils/OptionsUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
|
||||
#include <optional>
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_UTILS_DECLREFEXPRUTILS_H
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
||||
namespace clang::tidy::utils::decl_ref_expr {
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
|
||||
#include "DesignatedInitializers.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/ScopeExit.h"
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
#include "ExceptionSpecAnalyzer.h"
|
||||
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang::tidy::utils {
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include "LexerUtils.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Sema/DeclSpec.h"
|
||||
#include "clang/Tooling/FixIt.h"
|
||||
#include <optional>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include <optional>
|
||||
|
||||
namespace clang::tidy::utils::fixit {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_UTILS_TYPETRAITS_H
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include <optional>
|
||||
|
||||
namespace clang::tidy::utils::type_traits {
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "clang/AST/PrettyPrinter.h"
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/TextNodeDumper.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
#include "clang/Tooling/Syntax/Tokens.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include "ExpectedTypes.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Index/USRGeneration.h"
|
||||
#include "clang/Sema/CodeCompleteConsumer.h"
|
||||
#include <optional>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_EXPECTEDTYPES_H
|
||||
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_EXPECTEDTYPES_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <optional>
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/AST/TypeLocVisitor.h"
|
||||
#include "clang/AST/TypeVisitor.h"
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
#include "clang/AST/OperationKinds.h"
|
||||
#include "clang/AST/PrettyPrinter.h"
|
||||
#include "clang/AST/RecordLayout.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/CharInfo.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include "Headers.h"
|
||||
#include "index/Index.h"
|
||||
#include "index/Symbol.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/ExternalSemaSource.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Builtins.h"
|
||||
#include "clang/Basic/OperatorKinds.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "support/ThreadsafeFS.h"
|
||||
#include "support/Trace.h"
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Basic/DiagnosticOptions.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/StmtCXX.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "XRefs.h"
|
||||
#include "refactor/Tweak.h"
|
||||
#include "clang/AST/ASTTypeTraits.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include "llvm/Support/ScopedPrinter.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#include "refactor/Tweak.h"
|
||||
|
||||
#include "support/Logger.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/Support/Error.h"
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "refactor/Tweak.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Tooling/Core/Replacement.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TemplateName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/OperatorKinds.h"
|
||||
|
||||
@ -22,6 +22,6 @@
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprObjC.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
#endif
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLVM_CLANG_AST_ASTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_ASTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticAST.h"
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/TemplateName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "clang/AST/LocInfoType.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TemplateArgumentVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLocVisitor.h"
|
||||
#include "clang/AST/TypeVisitor.h"
|
||||
#include "llvm/Support/SaveAndRestore.h"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "clang/AST/AbstractBasicReader.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang {
|
||||
namespace serialization {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLVM_CLANG_AST_ABSTRACTTYPEWRITER_H
|
||||
#define LLVM_CLANG_AST_ABSTRACTTYPEWRITER_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/AbstractBasicWriter.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/AttrIterator.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/AttrKinds.h"
|
||||
#include "clang/Basic/AttributeCommonInfo.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeOrdering.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#ifndef LLVM_CLANG_AST_CANONICALTYPE_H
|
||||
#define LLVM_CLANG_AST_CANONICALTYPE_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/CommentCommandTraits.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
#include "clang/AST/LambdaCapture.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/NestedNameSpecifierBase.h"
|
||||
#include "clang/AST/Redeclarable.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
#include "clang/AST/Redeclarable.h"
|
||||
#include "clang/AST/SelectorLocationsKind.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
#include "clang/AST/OpenMPClause.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Support/TrailingObjects.h"
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/Redeclarable.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclContextInternals.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/PartialDiagnostic.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/StmtCXX.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/UnresolvedSet.h"
|
||||
#include "clang/Basic/ExceptionSpecificationType.h"
|
||||
#include "clang/Basic/ExpressionTraits.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "llvm/ADT/STLFunctionalExtras.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "clang/AST/OperationKinds.h"
|
||||
#include "clang/AST/SelectorLocationsKind.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "clang/AST/ExprConcepts.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/Mangle.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/Support/JSON.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#ifndef LLVM_CLANG_AST_LOCINFOTYPE_H
|
||||
#define LLVM_CLANG_AST_LOCINFOTYPE_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/GlobalDecl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/ABI.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/NestedNameSpecifierBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#ifndef LLVM_CLANG_AST_NONTRIVIALTYPEVISITOR_H
|
||||
#define LLVM_CLANG_AST_NONTRIVIALTYPEVISITOR_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#define LLVM_CLANG_AST_ODRHASH_H
|
||||
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
#include "clang/AST/StmtSYCL.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TemplateName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/OpenMPKinds.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/AST/TemplateArgumentVisitor.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLocVisitor.h"
|
||||
#include "clang/AST/TypeVisitor.h"
|
||||
|
||||
|
||||
46
clang/include/clang/AST/Type.h
Normal file
46
clang/include/clang/AST/Type.h
Normal file
@ -0,0 +1,46 @@
|
||||
//===- Type.h - C Language Family Type Representation -----------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
/// \file
|
||||
/// C Language Family Type Representation
|
||||
///
|
||||
/// This file defines some inline methods for clang::Type which depend on
|
||||
/// Decl.h, avoiding a circular dependency.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_TYPE_H
|
||||
#define LLVM_CLANG_AST_TYPE_H
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveDefaultInitializeCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveDefaultInitializeCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveDestructCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveDestructCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveCopyCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveCopyCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_TYPE_H
|
||||
@ -8475,24 +8475,6 @@ inline Qualifiers::GC QualType::getObjCGCAttr() const {
|
||||
return getQualifiers().getObjCGCAttr();
|
||||
}
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveDefaultInitializeCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveDefaultInitializeCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveDestructCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveDestructCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool QualType::hasNonTrivialToPrimitiveCopyCUnion() const {
|
||||
if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
||||
return hasNonTrivialToPrimitiveCopyCUnion(RD);
|
||||
return false;
|
||||
}
|
||||
|
||||
inline FunctionType::ExtInfo getFunctionExtInfo(const Type &t) {
|
||||
if (const auto *PT = t.getAs<PointerType>()) {
|
||||
if (const auto *FT = PT->getPointeeType()->getAs<FunctionType>())
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#define LLVM_CLANG_AST_TYPEORDERING_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include <functional>
|
||||
|
||||
namespace clang {
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#ifndef LLVM_CLANG_AST_TYPEVISITOR_H
|
||||
#define LLVM_CLANG_AST_TYPEVISITOR_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
#include "clang/AST/StmtOpenMP.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TemplateName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersInternal.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersMacros.h"
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TemplateName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/OperatorKinds.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/STLFunctionalExtras.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYCOMMON_H
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Analysis/Analyses/PostOrderCFGView.h"
|
||||
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
|
||||
#include "clang/Analysis/Analyses/ThreadSafetyTraverse.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "clang/AST/DynamicRecursiveASTVisitor.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Analysis/FlowSensitive/StorageLocation.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/SetVector.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Analysis/FlowSensitive/DataflowEnvironment.h"
|
||||
#include "clang/Analysis/FlowSensitive/DataflowLattice.h"
|
||||
#include "clang/Analysis/FlowSensitive/StorageLocation.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Analysis/FlowSensitive/ASTOps.h"
|
||||
#include "clang/Analysis/FlowSensitive/DataflowAnalysisContext.h"
|
||||
#include "clang/Analysis/FlowSensitive/DataflowLattice.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#define LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_STORAGELOCATION_H
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/IR/DerivedTypes.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include "llvm/Support/TrailingObjects.h"
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#define LLVM_CLANG_CODEGEN_CODEGENABITYPES_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/ABI.h"
|
||||
#include "clang/CodeGen/CGFunctionInfo.h"
|
||||
#include "llvm/IR/BasicBlock.h"
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/Support/TrailingObjects.h"
|
||||
#include <cassert>
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/AttributeCommonInfo.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#define LLVM_CLANG_SEMA_CODECOMPLETECONSUMER_H
|
||||
|
||||
#include "clang-c/Index.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Sema/CodeCompleteOptions.h"
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "clang/AST/DeclAccessPair.h"
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/PartialDiagnostic.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#define LLVM_CLANG_SEMA_EXTERNALSEMASOURCE_H
|
||||
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Sema/TypoCorrection.h"
|
||||
#include "clang/Sema/Weak.h"
|
||||
#include "llvm/ADT/MapVector.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "clang/AST/DeclAccessPair.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/UnresolvedSet.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/SemaFixItUtils.h"
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/CapturedStmt.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/PartialDiagnostic.h"
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/OperationKinds.h"
|
||||
#include "clang/AST/StmtCXX.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/AttrSubjectMatchRules.h"
|
||||
#include "clang/Basic/Builtins.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#define LLVM_CLANG_SEMA_SEMACODECOMPLETION_H
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/AttributeCommonInfo.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/Attr.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/SemaBase.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/NSAPI.h"
|
||||
#include "clang/AST/OperationKinds.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#define LLVM_CLANG_SEMA_SEMAPPC_H
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/SemaBase.h"
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#define LLVM_CLANG_SEMA_SEMARISCV_H
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/SemaBase.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#define LLVM_CLANG_SEMA_SEMASYCL_H
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/Ownership.h"
|
||||
#include "clang/Sema/SemaBase.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
#include "clang/AST/DeclVisitor.h"
|
||||
#include "clang/AST/TemplateBase.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Sema/Sema.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
#include "clang/AST/DeclID.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Basic/OperatorKinds.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#ifndef LLVM_CLANG_SERIALIZATION_ASTREADER_H
|
||||
#define LLVM_CLANG_SERIALIZATION_ASTREADER_H
|
||||
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticOptions.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
#include "clang/AST/ASTMutationListener.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TypeBase.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Sema/Sema.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user