]> granicus.if.org Git - clang/commitdiff
Make CurFuncDecl more specific; I have some code I'm going to land in a
authorEli Friedman <eli.friedman@gmail.com>
Thu, 22 May 2008 01:16:59 +0000 (01:16 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 22 May 2008 01:16:59 +0000 (01:16 +0000)
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

lib/CodeGen/CodeGenFunction.h

index 63d89a78c72c118af392afd1e11af25195f25b9c..077a7bdbdc1621eee58655fccba61852d33a56db 100644 (file)
@@ -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;