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 | ddf57d3df99b800186368f6be983e145b8b8d949 (patch) | |
tree | 83d8f3fe50317d8d4181bbbbc39122653f738114 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 25ac142b37e9b8977a41c0068ee863b8f1e5cc30 (diff) | |
download | bcm5719-llvm-ddf57d3df99b800186368f6be983e145b8b8d949.tar.gz bcm5719-llvm-ddf57d3df99b800186368f6be983e145b8b8d949.zip |
Remove an unnecessary FunctionDecl parameter to the synthesizing functions.
llvm-svn: 81759
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 9bdad225ab9..cc7b0b0455a 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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 |