aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-22 01:16:59 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-22 01:16:59 +0000
commit963fcb0737aebe929e58967e60b1c9e7cf9d330e (patch)
tree5df3e291be7c1d7b057e6f3d5da2c211d13b9687 /lib/CodeGen/CodeGenFunction.h
parent4f8d123e3e2c260de3377208106ddba87cee28b4 (diff)
Make CurFuncDecl more specific; I have some code I'm going to land in a
bit that wants to use CurFuncDecl as a FunctionDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 63d89a78c7..077a7bdbdc 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -252,7 +252,7 @@ public:
llvm::IRBuilder Builder;
// Holds the Decl for the current function or method
- const Decl *CurFuncDecl;
+ const FunctionDecl *CurFuncDecl;
QualType FnRetTy;
llvm::Function *CurFn;