From: Nico Weber Date: Tue, 2 Dec 2014 20:41:18 +0000 (+0000) Subject: Wrap to 80 columns. No behavior change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7567b2ffcc48ce733421dfd6b02d34bddc729fb5;p=clang Wrap to 80 columns. No behavior change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223149 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExprCXX.cpp b/lib/CodeGen/CGExprCXX.cpp index 39c77eb8b6..ff084de41c 100644 --- a/lib/CodeGen/CGExprCXX.cpp +++ b/lib/CodeGen/CGExprCXX.cpp @@ -185,12 +185,13 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, } // Compute the function type we're calling. - const CXXMethodDecl *CalleeDecl = DevirtualizedMethod ? DevirtualizedMethod : MD; + const CXXMethodDecl *CalleeDecl = + DevirtualizedMethod ? DevirtualizedMethod : MD; const CGFunctionInfo *FInfo = nullptr; - if (const CXXDestructorDecl *Dtor = dyn_cast(CalleeDecl)) + if (const auto *Dtor = dyn_cast(CalleeDecl)) FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( Dtor, StructorType::Complete); - else if (const CXXConstructorDecl *Ctor = dyn_cast(CalleeDecl)) + else if (const auto *Ctor = dyn_cast(CalleeDecl)) FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( Ctor, StructorType::Complete); else