diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-14 05:32:02 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-14 05:32:02 +0000 |
commit | de1d26b9c1d8823b173e4d77015ad88b4da70559 (patch) | |
tree | 746d7ea4b156244a6feee11aafeb727620c7ae01 /lib/CodeGen/CodeGenFunction.h | |
parent | 34771b594ca8cdf8cd2e40b27170efa4ed2833c5 (diff) |
Remove an unnecessary FunctionDecl parameter to the synthesizing functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 9bdad225ab..cc7b0b0455 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -380,32 +380,32 @@ public: int64_t nv_t, int64_t v_t, int64_t nv_r, int64_t v_r); - void EmitCtorPrologue(const CXXConstructorDecl *CD); + void EmitCtorPrologue(const CXXConstructorDecl *CD, CXXCtorType Type); - void SynthesizeCXXCopyConstructor(GlobalDecl GD, - const FunctionDecl *FD, + void SynthesizeCXXCopyConstructor(const CXXConstructorDecl *Ctor, + CXXCtorType Type, llvm::Function *Fn, const FunctionArgList &Args); void SynthesizeCXXCopyAssignment(const CXXMethodDecl *CD, - const FunctionDecl *FD, llvm::Function *Fn, const FunctionArgList &Args); - void SynthesizeDefaultConstructor(GlobalDecl GD, - const FunctionDecl *FD, + void SynthesizeDefaultConstructor(const CXXConstructorDecl *Ctor, + CXXCtorType Type, llvm::Function *Fn, const FunctionArgList &Args); - void SynthesizeDefaultDestructor(GlobalDecl GD, - const FunctionDecl *FD, - llvm::Function *Fn, - const FunctionArgList &Args); + void SynthesizeDefaultDestructor(const CXXDestructorDecl *Dtor, + CXXDtorType Type, + llvm::Function *Fn, + const FunctionArgList &Args); /// EmitDtorEpilogue - Emit all code that comes at the end of class's /// destructor. This is to call destructors on members and base classes /// in reverse order of their construction. - void EmitDtorEpilogue(const CXXDestructorDecl *DD); + void EmitDtorEpilogue(const CXXDestructorDecl *Dtor, + CXXDtorType Type); /// EmitFunctionProlog - Emit the target specific LLVM code to load the /// arguments for the given function. This is also responsible for naming the |