diff options
Diffstat (limited to 'clang/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenFunction.h b/clang/CodeGen/CodeGenFunction.h index 6e042d98658..fb7e72a9050 100644 --- a/clang/CodeGen/CodeGenFunction.h +++ b/clang/CodeGen/CodeGenFunction.h @@ -30,6 +30,7 @@ namespace clang { class LabelStmt; class GotoStmt; class IfStmt; + class ReturnStmt; class Expr; class IntegerLiteral; @@ -80,6 +81,8 @@ class CodeGenFunction { CodeGenModule &CGM; // Per-module state. TargetInfo &Target; LLVMBuilder Builder; + + const FunctionDecl *CurFuncDecl; llvm::Function *CurFn; /// LabelMap - This keeps track of the LLVM basic block for each C label. @@ -108,6 +111,7 @@ public: void EmitLabelStmt(const LabelStmt &S); void EmitGotoStmt(const GotoStmt &S); void EmitIfStmt(const IfStmt &S); + void EmitReturnStmt(const ReturnStmt &S); //===--------------------------------------------------------------------===// // Expression Emission |