Thread CGFunctionInfo construction through CodeGenTypes.
- Inefficient & leaks memory currently, will be cleaned up subsequently.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63567 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCall.h b/lib/CodeGen/CGCall.h
index 7ca5f26..f8fb32b 100644
--- a/lib/CodeGen/CGCall.h
+++ b/lib/CodeGen/CGCall.h
@@ -57,12 +57,8 @@
llvm::SmallVector<QualType, 16> ArgTypes;
public:
- CGFunctionInfo(const FunctionTypeNoProto *FTNP);
- CGFunctionInfo(const FunctionTypeProto *FTP);
- CGFunctionInfo(const FunctionDecl *FD);
- CGFunctionInfo(const ObjCMethodDecl *MD, const ASTContext &Context);
- CGFunctionInfo(QualType ResTy, const CallArgList &Args);
- CGFunctionInfo(QualType ResTy, const FunctionArgList &Args);
+ CGFunctionInfo(QualType ResTy,
+ const llvm::SmallVector<QualType, 16> &ArgTys);
ArgTypeIterator argtypes_begin() const;
ArgTypeIterator argtypes_end() const;