From 4e7ef80e68f9d3a984b354e152eabe71be9b6b44 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 15 Aug 2013 20:17:25 +0000 Subject: DebugInfo: Revert change to the return type of createRecordFwdDecl It still does only return DICompositeType, but I've no need to make that change right now. llvm-svn: 188482 --- clang/lib/CodeGen/CGDebugInfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CGDebugInfo.h') diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 3a0d07f2a8c..74b8e959993 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -306,8 +306,7 @@ private: llvm::DIScope getCurrentContextDescriptor(const Decl *Decl); /// \brief Create a forward decl for a RecordType in a given context. - llvm::DICompositeType getOrCreateRecordFwdDecl(const RecordDecl *, - llvm::DIDescriptor); + llvm::DIType getOrCreateRecordFwdDecl(const RecordDecl *, llvm::DIDescriptor); /// createContextChain - Create a set of decls for the context chain. llvm::DIDescriptor createContextChain(const Decl *Decl); -- cgit v1.2.3