From 5044f5c816adfd5cba17f1adee1a10127296d0bf Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Sat, 23 Jan 2010 11:10:26 +0000 Subject: Update clang to r94309. --- lib/CodeGen/CGDebugInfo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/CodeGen/CGDebugInfo.h') diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 8e8898805751..fddd23b4e9c3 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -64,6 +64,8 @@ class CGDebugInfo { /// constructed on demand. For example, C++ destructors, C++ operators etc.. llvm::BumpPtrAllocator FunctionNames; + llvm::DenseMap SPCache; + /// Helper functions for getOrCreateType. llvm::DIType CreateType(const BuiltinType *Ty, llvm::DICompileUnit U); llvm::DIType CreateType(const ComplexType *Ty, llvm::DICompileUnit U); @@ -85,6 +87,12 @@ class CGDebugInfo { llvm::DIType CreatePointerLikeType(unsigned Tag, const Type *Ty, QualType PointeeTy, llvm::DICompileUnit U); + void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, + llvm::DICompileUnit U, + llvm::SmallVectorImpl &E, + llvm::DICompositeType &T); + void CollectRecordFields(const RecordDecl *Decl, llvm::DICompileUnit U, + llvm::SmallVectorImpl &E); public: CGDebugInfo(CodeGenModule &CGM); ~CGDebugInfo(); -- cgit v1.3