Deleted Added
sdiff udiff text old ( 256281 ) new ( 263508 )
full compact
1//===-- llvm/Type.h - Classes for handling data types -----------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 310 unchanged lines hidden (view full) ---

319
320 //===--------------------------------------------------------------------===//
321 // Type Iteration support.
322 //
323 typedef Type * const *subtype_iterator;
324 subtype_iterator subtype_begin() const { return ContainedTys; }
325 subtype_iterator subtype_end() const { return &ContainedTys[NumContainedTys];}
326
327 /// getContainedType - This method is used to implement the type iterator
328 /// (defined a the end of the file). For derived types, this returns the
329 /// types 'contained' in the derived type.
330 ///
331 Type *getContainedType(unsigned i) const {
332 assert(i < NumContainedTys && "Index out of range!");
333 return ContainedTys[i];
334 }

--- 153 unchanged lines hidden ---