aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-07 20:47:48 +0000
committerDan Gohman <gohman@apple.com>2009-07-07 20:47:48 +0000
commit18476eeb4a45435dcbf985d6f360da8ef4bc061c (patch)
tree85d99f1cd55d03d56066c16e9820ba7be56186cb
parente253c951b38e47f14a097db6ac7731c857837ae2 (diff)
downloadexternal_llvm-18476eeb4a45435dcbf985d6f360da8ef4bc061c.zip
external_llvm-18476eeb4a45435dcbf985d6f360da8ef4bc061c.tar.gz
external_llvm-18476eeb4a45435dcbf985d6f360da8ef4bc061c.tar.bz2
Fix a typo and a grammaro in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74947 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 59ae610..4419fbd 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -51,7 +51,7 @@ public:
///
bool isArrayAllocation() const;
- /// getArraySize - Get the number of element allocated, for a simple
+ /// getArraySize - Get the number of elements allocated. For a simple
/// allocation of a single element, this will return a constant 1 value.
///
const Value *getArraySize() const { return getOperand(0); }