summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-20 16:42:55 +0000
committerDan Gohman <gohman@apple.com>2009-08-20 16:42:55 +0000
commit8a8ad7d8e8479337f82dd8970fa9d113b9aa862d (patch)
tree48d6b37b45b94dcc75a92b43ece641a07ed91fa1 /llvm/lib/Analysis/ConstantFolding.cpp
parentf91a992c30d9644c43446451c7cb8ec1e28fdd1a (diff)
downloadbcm5719-llvm-8a8ad7d8e8479337f82dd8970fa9d113b9aa862d.tar.gz
bcm5719-llvm-8a8ad7d8e8479337f82dd8970fa9d113b9aa862d.zip
Various comment and whitespace cleanups.
llvm-svn: 79533
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 459a1883d87..2dab8ddc97f 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -208,7 +208,7 @@ static Constant *SymbolicallyEvaluateGEP(Constant* const* Ops, unsigned NumOps,
"Computed GetElementPtr has unexpected type!");
// If we ended up indexing a member with a type that doesn't match
- // type type of what the original indices indexed, add a cast.
+ // the type of what the original indices indexed, add a cast.
if (Ty != cast<PointerType>(ResultTy)->getElementType())
C = ConstantExpr::getBitCast(C, ResultTy);
OpenPOWER on IntegriCloud