clang  8.0.0svn
Classes | Namespaces | Macros | Typedefs | Functions
ASTImporter.cpp File Reference
#include "clang/AST/ASTImporter.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTDiagnostic.h"
#include "clang/AST/ASTStructuralEquivalence.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclAccessPair.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclFriend.h"
#include "clang/AST/DeclGroup.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/ExternalASTSource.h"
#include "clang/AST/LambdaCapture.h"
#include "clang/AST/NestedNameSpecifier.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtCXX.h"
#include "clang/AST/StmtObjC.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/AST/TemplateBase.h"
#include "clang/AST/TemplateName.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/AST/TypeVisitor.h"
#include "clang/AST/UnresolvedSet.h"
#include "clang/Basic/ExceptionSpecificationType.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MemoryBuffer.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <memory>
#include <type_traits>
#include <utility>
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
#include "clang/AST/BuiltinTypes.def"

Go to the source code of this file.

Classes

class  clang::ASTNodeImporter
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

Macros

#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)
 
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext)
 
#define SHARED_SINGLETON_TYPE(Expansion)
 
#define BUILTIN_TYPE(Id, SingletonId)   case BuiltinType::Id: return Importer.getToContext().SingletonId;
 

Typedefs

using clang::ExpectedType = llvm::Expected< QualType >
 
using clang::ExpectedStmt = llvm::Expected< Stmt * >
 
using clang::ExpectedExpr = llvm::Expected< Expr * >
 
using clang::ExpectedDecl = llvm::Expected< Decl * >
 
using clang::ExpectedSLoc = llvm::Expected< SourceLocation >
 

Functions

template<class T >
SmallVector< Decl *, 2 > clang::getCanonicalForwardRedeclChain (Redeclarable< T > *D)
 
llvm::SmallVector< Decl *, 2 > clang::getCanonicalForwardRedeclChain (Decl *D)
 
void clang::updateFlags (const Decl *From, Decl *To)
 
static Error setTypedefNameForAnonDecl (TagDecl *From, TagDecl *To, ASTImporter &Importer)
 
static StructuralEquivalenceKind getStructuralEquivalenceKind (const ASTImporter &Importer)
 
static ClassTemplateDeclgetDefinition (ClassTemplateDecl *D)
 

Macro Definition Documentation

◆ BUILTIN_TYPE

#define BUILTIN_TYPE (   Id,
  SingletonId 
)    case BuiltinType::Id: return Importer.getToContext().SingletonId;

◆ EXT_OPAQUE_TYPE

#define EXT_OPAQUE_TYPE (   ExtType,
  Id,
  Ext 
)
Value:
return Importer.getToContext().Id##Ty;
int Id
Definition: ASTDiff.cpp:191

◆ IMAGE_TYPE

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)
Value:
return Importer.getToContext().SingletonId;
int Id
Definition: ASTDiff.cpp:191

◆ SHARED_SINGLETON_TYPE

#define SHARED_SINGLETON_TYPE (   Expansion)

Function Documentation

◆ getDefinition()

static ClassTemplateDecl* getDefinition ( ClassTemplateDecl D)
static

◆ getStructuralEquivalenceKind()

static StructuralEquivalenceKind getStructuralEquivalenceKind ( const ASTImporter Importer)
static

◆ setTypedefNameForAnonDecl()

static Error setTypedefNameForAnonDecl ( TagDecl From,
TagDecl To,
ASTImporter Importer 
)
static