From: Eli Friedman Date: Thu, 22 May 2008 01:16:59 +0000 (+0000) Subject: Make CurFuncDecl more specific; I have some code I'm going to land in a X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=963fcb0737aebe929e58967e60b1c9e7cf9d330e;p=clang 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 --- 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;