summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-15 22:42:12 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-15 22:42:12 +0000
commit952dac3b7f77a21d8bffdd8530597c464df75751 (patch)
tree15349cbe0a2d666c379a1f30738eb46081e275c0 /clang/lib/CodeGen/CGDebugInfo.cpp
parent8a71d5344856468d82d05132ae9dcf78a936f27d (diff)
downloadbcm5719-llvm-952dac3b7f77a21d8bffdd8530597c464df75751.tar.gz
bcm5719-llvm-952dac3b7f77a21d8bffdd8530597c464df75751.zip
Remove unnecessary explicit cast.
llvm-svn: 188500
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud