From f7876426f002d7dd763aff7f16a6e8bfa24599bb Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Wed, 19 Sep 2012 06:24:00 +0000 Subject: whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164203 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Type.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/VMCore/Type.cpp') diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index 5e9a00fc08..1a7a650989 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -220,8 +220,6 @@ Type *Type::getStructElementType(unsigned N) const { return cast(this)->getElementType(N); } - - Type *Type::getSequentialElementType() const { return cast(this)->getElementType(); } @@ -239,8 +237,6 @@ unsigned Type::getPointerAddressSpace() const { } - - //===----------------------------------------------------------------------===// // Primitive 'Type' data //===----------------------------------------------------------------------===// @@ -400,12 +396,10 @@ FunctionType *FunctionType::get(Type *ReturnType, return FT; } - FunctionType *FunctionType::get(Type *Result, bool isVarArg) { return get(Result, ArrayRef(), isVarArg); } - /// isValidReturnType - Return true if the specified type is valid as a return /// type. bool FunctionType::isValidReturnType(Type *RetTy) { @@ -553,7 +547,6 @@ StructType *StructType::create(LLVMContext &Context) { return create(Context, StringRef()); } - StructType *StructType::create(ArrayRef Elements, StringRef Name, bool isPacked) { assert(!Elements.empty() && @@ -637,7 +630,6 @@ bool StructType::isLayoutIdentical(StructType *Other) const { return std::equal(element_begin(), element_end(), Other->element_begin()); } - /// getTypeByName - Return the type with the specified name, or null if there /// is none by that name. StructType *Module::getTypeByName(StringRef Name) const { @@ -700,7 +692,6 @@ ArrayType::ArrayType(Type *ElType, uint64_t NumEl) NumElements = NumEl; } - ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { Type *ElementType = const_cast(elementType); assert(isValidElementType(ElementType) && "Invalid type for array element!"); -- cgit v1.2.3