summaryrefslogtreecommitdiff
path: root/include/llvm/Instructions.h
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2010-12-03 14:54:33 +0000
committerFrits van Bommel <fvbommel@gmail.com>2010-12-03 14:54:33 +0000
commitaf72c62d4b4e1f16e5b712895abc4eb4142b3cef (patch)
treeba55a47bfd4b652ec800e9f1d1e5437cda4564ff /include/llvm/Instructions.h
parent6d6d16a5fc054fb3f7032297d0a15abb659be7ef (diff)
downloadllvm-af72c62d4b4e1f16e5b712895abc4eb4142b3cef.tar.gz
llvm-af72c62d4b4e1f16e5b712895abc4eb4142b3cef.tar.bz2
llvm-af72c62d4b4e1f16e5b712895abc4eb4142b3cef.tar.xz
Fix paste-o in ExtractValueInst::getIndexedType() comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index c681b7f406..eab167db14 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -1450,8 +1450,7 @@ class ExtractValueInst : public UnaryInstruction {
/// getIndexedType - Returns the type of the element that would be extracted
/// with an extractvalue instruction with the specified parameters.
///
- /// Null is returned if the indices are invalid for the specified
- /// pointer type.
+ /// Null is returned if the indices are invalid for the specified type.
///
static const Type *getIndexedType(const Type *Agg,
const unsigned *Idx, unsigned NumIdx);
@@ -1534,8 +1533,7 @@ public:
/// getIndexedType - Returns the type of the element that would be extracted
/// with an extractvalue instruction with the specified parameters.
///
- /// Null is returned if the indices are invalid for the specified
- /// pointer type.
+ /// Null is returned if the indices are invalid for the specified type.
///
template<typename RandomAccessIterator>
static const Type *getIndexedType(const Type *Ptr,