summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-05-07 21:53:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-05-07 21:53:22 +0000
commit4c71b8cded575b0cfc133c5da4502ca613982094 (patch)
treef5f073b07c2135e60fdf8605eab6c1f9dc15c00e /lib/CodeGen/CodeGenFunction.h
parent28b34d86baca3282704de364b98a123baf426799 (diff)
downloadclang-4c71b8cded575b0cfc133c5da4502ca613982094.tar.gz
clang-4c71b8cded575b0cfc133c5da4502ca613982094.tar.bz2
clang-4c71b8cded575b0cfc133c5da4502ca613982094.tar.xz
Don't crash in IRGen if a conditional with 'throw' in one of its branches is
used as a branch condition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 08e60c43ce..ff74c15c38 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -2708,7 +2708,7 @@ public:
}
void enterNonTrivialFullExpression(const ExprWithCleanups *E);
- void EmitCXXThrowExpr(const CXXThrowExpr *E);
+ void EmitCXXThrowExpr(const CXXThrowExpr *E, bool KeepInsertionPoint = true);
void EmitLambdaExpr(const LambdaExpr *E, AggValueSlot Dest);