diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index d482086e1a1..b833380e49a 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -229,6 +229,10 @@ public:    /// EmitBranch - Emit a branch to the specified basic block from the    /// current insert block, taking care to avoid creation of branches    /// from dummy blocks. +  /// +  /// This function clears the current insertion point. The caller +  /// should follow calls to this function with calls to Emit*Block +  /// prior to generation new code.    void EmitBranch(llvm::BasicBlock *Block);    /// EmitDummyBlock - Emit a new block which will never be branched | 

