[llvm-commits] [127997] Fix tabs and column width

lattner at apple.com lattner at apple.com
Mon Jun 4 18:00:25 PDT 2007


Revision: 127997
Author:   lattner
Date:     2007-06-04 18:00:25 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
Fix tabs and column width

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/llvm-backend.cpp
    apple-local/branches/llvm/gcc/llvm-convert.cpp
    apple-local/branches/llvm/gcc/llvm-internal.h

Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-backend.cpp	2007-06-04 23:45:52 UTC (rev 127996)
+++ apple-local/branches/llvm/gcc/llvm-backend.cpp	2007-06-05 01:00:25 UTC (rev 127997)
@@ -480,16 +480,18 @@
   
   // Add llvm.noinline
   if (!AttributeNoinlineFunctions.empty()) {
-	std::vector<Constant*> GlobalInit;
+    std::vector<Constant*> GlobalInit;
     const Type *SBP= PointerType::get(Type::Int8Ty);
     for (unsigned i = 0, e = AttributeNoinlineFunctions.size(); i != e; ++i)
-      GlobalInit.push_back(ConstantExpr::getBitCast(AttributeNoinlineFunctions[i], 
-                                                    SBP));
+      GlobalInit.push_back(ConstantExpr::getBitCast(
+                                                AttributeNoinlineFunctions[i], 
+                                                SBP));
     ArrayType *AT = ArrayType::get(SBP, AttributeNoinlineFunctions.size());
     Constant *Init = ConstantArray::get(AT, GlobalInit);
-    GlobalValue *gv = new GlobalVariable(AT, false, GlobalValue::AppendingLinkage, Init,
-                       "llvm.noinline", TheModule);
-	gv->setSection("llvm.metadata");
+    GlobalValue *gv = new GlobalVariable(AT, false, 
+                                        GlobalValue::AppendingLinkage, Init,
+                                        "llvm.noinline", TheModule);
+    gv->setSection("llvm.metadata");
   }
   
   // Finish off the per-function pass.

Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-convert.cpp	2007-06-04 23:45:52 UTC (rev 127996)
+++ apple-local/branches/llvm/gcc/llvm-convert.cpp	2007-06-05 01:00:25 UTC (rev 127997)
@@ -594,7 +594,7 @@
   
   // Handle noinline Functions
   if (DECL_UNINLINABLE (FnDecl))
-	AttributeNoinlineFunctions.push_back(Fn); 
+    AttributeNoinlineFunctions.push_back(Fn); 
   
   // Create a new basic block for the function.
   Builder.SetInsertPoint(new BasicBlock("entry", Fn));

Modified: apple-local/branches/llvm/gcc/llvm-internal.h
===================================================================
--- apple-local/branches/llvm/gcc/llvm-internal.h	2007-06-04 23:45:52 UTC (rev 127996)
+++ apple-local/branches/llvm/gcc/llvm-internal.h	2007-06-05 01:00:25 UTC (rev 127997)
@@ -88,7 +88,8 @@
 /// AttributeUsedGlobals - The list of globals that are marked attribute(used).
 extern std::vector<GlobalValue*> AttributeUsedGlobals;
 
-/// AttributeNoinlineFunctions - The list of functions that are marked attribute(noinline)
+/// AttributeNoinlineFunctions - The list of functions that are 
+/// marked attribute(noinline)
 extern std::vector<Function*> AttributeNoinlineFunctions;
 
 void changeLLVMValue(Value *Old, Value *New);





More information about the llvm-commits mailing list