From e53d15386fcc355b5a16e775f7afd69e1a1e41e8 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 22 May 2008 01:16:59 +0000 Subject: Make CurFuncDecl more specific; I have some code I'm going to land in a bit that wants to use CurFuncDecl as a FunctionDecl. llvm-svn: 51402 --- clang/lib/CodeGen/CodeGenFunction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 63d89a78c72..077a7bdbdc1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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; -- cgit v1.2.3