From 952dac3b7f77a21d8bffdd8530597c464df75751 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 15 Aug 2013 22:42:12 +0000 Subject: Remove unnecessary explicit cast. llvm-svn: 188500 --- clang/lib/CodeGen/CGDebugInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp') diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 049375f5d75..5f56e169591 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -2237,7 +2237,7 @@ llvm::DIType CGDebugInfo::CreateLimitedType(const RecordType *Ty) { RealDecl.setTypeArray(llvm::DIArray(), CollectCXXTemplateParams(TSpecial, DefUnit)); } - return llvm::DIType(RealDecl); + return RealDecl; } /// CreateMemberType - Create new member and increase Offset by FType's size. -- cgit v1.2.3