diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-22 01:16:59 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-22 01:16:59 +0000 |
| commit | e53d15386fcc355b5a16e775f7afd69e1a1e41e8 (patch) | |
| tree | f21b43e79cce94eda89a7970f2cc89e2a87cc6ce /clang/lib/CodeGen | |
| parent | f12c08dcd898c5eb7e26586ecb3b5a6011db0596 (diff) | |
| download | bcm5719-llvm-e53d15386fcc355b5a16e775f7afd69e1a1e41e8.tar.gz bcm5719-llvm-e53d15386fcc355b5a16e775f7afd69e1a1e41e8.zip | |
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
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |

