From af72c62d4b4e1f16e5b712895abc4eb4142b3cef Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Fri, 3 Dec 2010 14:54:33 +0000 Subject: [PATCH] Fix paste-o in ExtractValueInst::getIndexedType() comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120804 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instructions.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index c681b7f4061..eab167db148 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 static const Type *getIndexedType(const Type *Ptr, -- 2.34.1