diff options
| author | Nadav Rotem <nrotem@apple.com> | 2012-09-19 06:24:00 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2012-09-19 06:24:00 +0000 |
| commit | 88ec52d5808f36366e832a2d61b192714713a062 (patch) | |
| tree | 44c564672cbabd2533505a8f1125de8bb0cc10e4 /llvm | |
| parent | a73be890a14fc2e6c5e25fcd0a57c6e9572044b0 (diff) | |
| download | bcm5719-llvm-88ec52d5808f36366e832a2d61b192714713a062.tar.gz bcm5719-llvm-88ec52d5808f36366e832a2d61b192714713a062.zip | |
whitespace.
llvm-svn: 164203
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/VMCore/Type.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 5e9a00fc085..1a7a650989b 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/lib/VMCore/Type.cpp @@ -220,8 +220,6 @@ Type *Type::getStructElementType(unsigned N) const { return cast<StructType>(this)->getElementType(N); } - - Type *Type::getSequentialElementType() const { return cast<SequentialType>(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<Type *>(), 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<Type*> 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<Type*>(elementType); assert(isValidElementType(ElementType) && "Invalid type for array element!"); |

