summaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-22 22:07:27 +0000
committerDan Gohman <gohman@apple.com>2010-02-22 22:07:27 +0000
commit95056e4808d2e3730983b4d93c21737a12cf7fee (patch)
treeb30d9cc289c4cfca2bf1e03e1225687efda63d06 /lib/Analysis/ConstantFolding.cpp
parentd97439d1e5a04a580c48b98512885866dcc83e2a (diff)
downloadllvm-95056e4808d2e3730983b4d93c21737a12cf7fee.tar.gz
llvm-95056e4808d2e3730983b4d93c21737a12cf7fee.tar.bz2
llvm-95056e4808d2e3730983b4d93c21737a12cf7fee.tar.xz
Minor formatting cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
-rw-r--r--lib/Analysis/ConstantFolding.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp
index 676a8466ac..f3f9a5102f 100644
--- a/lib/Analysis/ConstantFolding.cpp
+++ b/lib/Analysis/ConstantFolding.cpp
@@ -814,8 +814,7 @@ Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, const Type *DestTy,
Constant::getNullValue(CE->getType()),
ConstantInt::get(ElTy->getContext(), ElemIdx)
};
- return
- ConstantExpr::getGetElementPtr(GV, &Index[0], 2);
+ return ConstantExpr::getGetElementPtr(GV, &Index[0], 2);
}
}
}