Remove duplicated comment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 18 May 2013 00:24:09 +0000 (00:24 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 18 May 2013 00:24:09 +0000 (00:24 +0000)
The same comment is already made in the header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182181 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/DataLayout.cpp

index 5658f561144bc77cddc1aa9d3cdab81f8436684a..d3669f9c01eaf989cbcfac5466e64e65722445a3 100644 (file)
@@ -601,16 +601,11 @@ unsigned DataLayout::getPreferredTypeAlignmentShift(Type *Ty) const {
   return Log2_32(Align);
 }
 
-/// getIntPtrType - Return an integer type with size at least as big as that
-/// of a pointer in the given address space.
 IntegerType *DataLayout::getIntPtrType(LLVMContext &C,
                                        unsigned AddressSpace) const {
   return IntegerType::get(C, getPointerSizeInBits(AddressSpace));
 }
 
-/// getIntPtrType - Return an integer (vector of integer) type with size at
-/// least as big as that of a pointer of the given pointer (vector of pointer)
-/// type.
 Type *DataLayout::getIntPtrType(Type *Ty) const {
   assert(Ty->isPtrOrPtrVectorTy() &&
          "Expected a pointer or pointer vector type.");