diff options
| author | Devang Patel <dpatel@apple.com> | 2008-03-04 21:54:56 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2008-03-04 21:54:56 +0000 |
| commit | 552ec65ebd6b4cf40e31d6a41e78a5c4d7a13bcf (patch) | |
| tree | 9d42d52f7c77394f4919cbc5fe99664d5477b43f /include | |
| parent | 37963556e331914fea9c5afb00de0e2a335fec6d (diff) | |
Revert SmallVector ctor variants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/DerivedTypes.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index b8378ace85..457d37d1fa 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -19,7 +19,6 @@ #define LLVM_DERIVED_TYPES_H #include "llvm/Type.h" -#include "llvm/ADT/SmallVector.h" namespace llvm { @@ -145,8 +144,6 @@ class FunctionType : public DerivedType { const FunctionType &operator=(const FunctionType &); // Do not implement FunctionType(const Type *Result, const std::vector<const Type*> &Params, bool IsVarArgs); - FunctionType(const Type *Result, const SmallVectorImpl<const Type*> &Params, - bool IsVarArgs); public: /// FunctionType::get - This static method is the primary way of constructing @@ -158,12 +155,6 @@ public: bool isVarArg ///< Whether this is a variable argument length function ); - static FunctionType *get( - const Type *Result, ///< The result type - const SmallVectorImpl<const Type*> &Params, ///< The types of the parameters - bool isVarArg ///< Whether this is a variable argument length function - ); - inline bool isVarArg() const { return isVarArgs; } inline const Type *getReturnType() const { return ContainedTys[0]; } |
