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 63d89a7..077a7bd 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -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;