[cfe-commits] r51402 - /cfe/trunk/lib/CodeGen/CodeGenFunction.h

Eli Friedman eli.friedman at gmail.com
Wed May 21 18:16:59 PDT 2008


Author: efriedma
Date: Wed May 21 20:16:59 2008
New Revision: 51402

URL: http://llvm.org/viewvc/llvm-project?rev=51402&view=rev
Log:
Make CurFuncDecl more specific; I have some code I'm going to land in a 
bit that wants to use CurFuncDecl as a FunctionDecl.


Modified:
    cfe/trunk/lib/CodeGen/CodeGenFunction.h

Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.h?rev=51402&r1=51401&r2=51402&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.h Wed May 21 20:16:59 2008
@@ -252,7 +252,7 @@
   llvm::IRBuilder Builder;
   
   // Holds the Decl for the current function or method
-  const Decl *CurFuncDecl;
+  const FunctionDecl *CurFuncDecl;
   QualType FnRetTy;
   llvm::Function *CurFn;
 





More information about the cfe-commits mailing list