diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index fa86f05..913b5df 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -769,6 +769,11 @@ public:    /// block through the normal cleanup handling code (if any) and then    /// on to \arg Dest.    void EmitBranchThroughCleanup(JumpDest Dest); +   +  /// isObviouslyBranchWithoutCleanups - Return true if a branch to the +  /// specified destination obviously has no cleanups to run.  'false' is always +  /// a conservatively correct answer for this method. +  bool isObviouslyBranchWithoutCleanups(JumpDest Dest) const;    /// EmitBranchThroughEHCleanup - Emit a branch from the current    /// insert block through the EH cleanup handling code (if any) and  | 
