]> granicus.if.org Git - clang/commitdiff
"The attached diff fixes the //FIXME in message send to super. This should now be...
authorChris Lattner <sabre@nondot.org>
Mon, 4 May 2009 16:56:33 +0000 (16:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 May 2009 16:56:33 +0000 (16:56 +0000)
Patch by David Chisnall!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70877 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCGNU.cpp

index fb3595e8f49c9a181e7fe068683b694e44586ab0..2ddd6e15dc6873330fd39b4e0d7a08cf8d5a6c55 100644 (file)
@@ -309,15 +309,15 @@ CGObjCGNU::GenerateMessageSendSuper(CodeGen::CodeGenFunction &CGF,
   if (IsClassMessage)  {
     if (!MetaClassPtrAlias) {
       MetaClassPtrAlias = new llvm::GlobalAlias(IdTy,
-          llvm::GlobalValue::InternalLinkage, ".objc_metaclass_ref" + Class->getNameAsString(), NULL,
-          &TheModule);
+          llvm::GlobalValue::InternalLinkage, ".objc_metaclass_ref" +
+          Class->getNameAsString(), NULL, &TheModule);
     }
     ReceiverClass = MetaClassPtrAlias;
   } else {
     if (!ClassPtrAlias) {
       ClassPtrAlias = new llvm::GlobalAlias(IdTy,
-          llvm::GlobalValue::InternalLinkage, ".objc_class_ref" + Class->getNameAsString(), NULL,
-          &TheModule);
+          llvm::GlobalValue::InternalLinkage, ".objc_class_ref" +
+          Class->getNameAsString(), NULL, &TheModule);
     }
     ReceiverClass = ClassPtrAlias;
   }