]> granicus.if.org Git - clang/commitdiff
Fixed whitespace issue introduced in r160373.
authorJoao Matos <ripzonetriton@gmail.com>
Tue, 17 Jul 2012 19:17:58 +0000 (19:17 +0000)
committerJoao Matos <ripzonetriton@gmail.com>
Tue, 17 Jul 2012 19:17:58 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160388 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGVTables.cpp

index c2c42f6e0067fbc7f0088391052d4d2a14b80dfc..3c0dd5d56b5c665e40234f082c2a32dc03f7292b 100644 (file)
@@ -569,15 +569,14 @@ CodeGenVTables::CreateVTableInitializer(const CXXRecordDecl *RD,
 
       if (cast<CXXMethodDecl>(GD.getDecl())->isPure()) {
         // We have a pure virtual member function.
-        if (!PureVirtualFn ) {
-            llvm::FunctionType *Ty = \r
-                llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);\r
-            StringRef PureCallName = CGM.getCXXABI().GetPureVirtualCallName();\r
-            PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);\r
-            PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn,\r
-                                                        CGM.Int8PtrTy);
+        if (!PureVirtualFn) {
+          llvm::FunctionType *Ty = \r
+            llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);\r
+          StringRef PureCallName = CGM.getCXXABI().GetPureVirtualCallName();\r
+          PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);\r
+          PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn,\r
+                                                         CGM.Int8PtrTy);
         }
-
         Init = PureVirtualFn;
       } else {
         // Check if we should use a thunk.