summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-11 00:07:24 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-11 00:07:24 +0000
commit73fcc95f0fdebdae62dbef9174b8a775c01affe9 (patch)
treefc7eda0efedc7c2861adacafc154624e7e1f8711 /clang/lib/CodeGen/CodeGenFunction.h
parent11ff570292bc776efc2ee29e49c0620934275f34 (diff)
downloadbcm5719-llvm-73fcc95f0fdebdae62dbef9174b8a775c01affe9.tar.gz
bcm5719-llvm-73fcc95f0fdebdae62dbef9174b8a775c01affe9.zip
Pass GlobalDecls to GenerateCode and StartFunction.
llvm-svn: 81485
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 07804a93963..c7aefb64e20 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -345,9 +345,8 @@ public:
llvm::Value *GetAddrOfBlockDecl(const BlockDeclRefExpr *E);
const llvm::Type *BuildByRefType(const ValueDecl *D);
- void GenerateCode(const FunctionDecl *FD,
- llvm::Function *Fn);
- void StartFunction(const Decl *D, QualType RetTy,
+ void GenerateCode(GlobalDecl GD, llvm::Function *Fn);
+ void StartFunction(GlobalDecl GD, QualType RetTy,
llvm::Function *Fn,
const FunctionArgList &Args,
SourceLocation StartLoc);
@@ -369,7 +368,7 @@ public:
void EmitCtorPrologue(const CXXConstructorDecl *CD);
- void SynthesizeCXXCopyConstructor(const CXXConstructorDecl *CD,
+ void SynthesizeCXXCopyConstructor(GlobalDecl GD,
const FunctionDecl *FD,
llvm::Function *Fn,
const FunctionArgList &Args);
@@ -379,12 +378,12 @@ public:
llvm::Function *Fn,
const FunctionArgList &Args);
- void SynthesizeDefaultConstructor(const CXXConstructorDecl *CD,
+ void SynthesizeDefaultConstructor(GlobalDecl GD,
const FunctionDecl *FD,
llvm::Function *Fn,
const FunctionArgList &Args);
- void SynthesizeDefaultDestructor(const CXXDestructorDecl *CD,
+ void SynthesizeDefaultDestructor(GlobalDecl GD,
const FunctionDecl *FD,
llvm::Function *Fn,
const FunctionArgList &Args);
OpenPOWER on IntegriCloud