[llvm-commits] [llvm] r120804 - /llvm/trunk/include/llvm/Instructions.h
Frits van Bommel
fvbommel at gmail.com
Fri Dec 3 06:54:33 PST 2010
Author: fvbommel
Date: Fri Dec 3 08:54:33 2010
New Revision: 120804
URL: http://llvm.org/viewvc/llvm-project?rev=120804&view=rev
Log:
Fix paste-o in ExtractValueInst::getIndexedType() comments.
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=120804&r1=120803&r2=120804&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Fri Dec 3 08:54:33 2010
@@ -1450,8 +1450,7 @@
/// 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 @@
/// 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,
More information about the llvm-commits
mailing list