aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjCGNU.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-26 04:52:29 +0000
committerChris Lattner <sabre@nondot.org>2008-06-26 04:52:29 +0000
commitfba676396703e87a5034e5f308aa30a633468f66 (patch)
treebea7e640bec9010d947123ce1a1cbd7673e34dfb /lib/CodeGen/CGObjCGNU.cpp
parentd002cc6fc5b72bf00e3b7b4571ccf0f23c789b4b (diff)
indenting and other minor things.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r--lib/CodeGen/CGObjCGNU.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp
index 83b093a479..c48c21d62b 100644
--- a/lib/CodeGen/CGObjCGNU.cpp
+++ b/lib/CodeGen/CGObjCGNU.cpp
@@ -390,8 +390,8 @@ llvm::Constant *CGObjCGNU::GenerateMethodList(const std::string &ClassName,
std::vector<llvm::Constant*> Elements;
for (unsigned int i = 0, e = MethodTypes.size(); i < e; ++i) {
Elements.clear();
- Elements.push_back( llvm::ConstantExpr::getGetElementPtr(MethodNames[i],
- Zeros, 2));
+ Elements.push_back(llvm::ConstantExpr::getGetElementPtr(MethodNames[i],
+ Zeros, 2));
Elements.push_back(
llvm::ConstantExpr::getGetElementPtr(MethodTypes[i], Zeros, 2));
llvm::Constant *Method =
@@ -406,9 +406,9 @@ llvm::Constant *CGObjCGNU::GenerateMethodList(const std::string &ClassName,
// Array of method structures
llvm::ArrayType *ObjCMethodArrayTy = llvm::ArrayType::get(ObjCMethodTy,
- MethodNames.size());
+ MethodNames.size());
llvm::Constant *MethodArray = llvm::ConstantArray::get(ObjCMethodArrayTy,
- Methods);
+ Methods);
// Structure containing list pointer, array and array count
llvm::SmallVector<const llvm::Type*, 16> ObjCMethodListFields;