//===--- CGDecl.cpp - Emit LLVM Code for declarations ---------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This contains code dealing with C++ code generation.////===----------------------------------------------------------------------===//// We might split this into multiple files if it gets too unwieldy#include"CodeGenFunction.h"#include"CodeGenModule.h"#include"Mangle.h"#include"clang/AST/ASTContext.h"#include"clang/AST/RecordLayout.h"#include"clang/AST/Decl.h"#include"clang/AST/DeclCXX.h"#include"clang/AST/DeclObjC.h"#include"clang/AST/StmtCXX.h"#include"llvm/ADT/StringExtras.h"usingnamespaceclang;usingnamespaceCodeGen;voidCodeGenFunction::EmitCXXGlobalDtorRegistration(constCXXDestructorDecl*Dtor,llvm::Constant*DeclPtr){constllvm::Type*Int8PtrTy