From ac7c25f0cab42a34d6e6acba7afff729caf0258e Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 28 Aug 2013 23:12:10 +0000 Subject: [PATCH] 80-col. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189531 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGDebugInfo.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index e7d70660f6..fd495fe773 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1140,11 +1140,14 @@ CollectCXXMemberFunctions(const CXXRecordDecl *RD, llvm::DIFile Unit, EltTys.push_back(CreateCXXMemberFunction(Method, Unit, RecordTy)); } else EltTys.push_back(MI->second); - } else if (const FunctionTemplateDecl *FTD = dyn_cast(*I)) { + } else if (const FunctionTemplateDecl *FTD = + dyn_cast(*I)) { // Add any template specializations that have already been seen. Like // implicit member functions, these may have been added to a declaration // in the case of vtable-based debug info reduction. - for (FunctionTemplateDecl::spec_iterator SI = FTD->spec_begin(), SE = FTD->spec_end(); SI != SE; ++SI) { + for (FunctionTemplateDecl::spec_iterator SI = FTD->spec_begin(), + SE = FTD->spec_end(); + SI != SE; ++SI) { llvm::DenseMap::iterator MI = SPCache.find(cast(*SI)->getCanonicalDecl()); if (MI != SPCache.end()) @@ -2368,9 +2371,11 @@ llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) { llvm::DenseMap::iterator MI = SPCache.find(FD->getCanonicalDecl()); if (MI == SPCache.end()) { - if (const CXXMethodDecl *MD = dyn_cast(FD->getCanonicalDecl())) { + if (const CXXMethodDecl *MD = + dyn_cast(FD->getCanonicalDecl())) { llvm::DICompositeType T(S); - llvm::DISubprogram SP = CreateCXXMemberFunction(MD, getOrCreateFile(MD->getLocation()), T); + llvm::DISubprogram SP = + CreateCXXMemberFunction(MD, getOrCreateFile(MD->getLocation()), T); T.addMember(SP); return SP; } -- 2.40.0