diff options
| author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-11-29 10:52:13 -0500 |
|---|---|---|
| committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-11-29 10:52:20 -0500 |
| commit | 471d06020a6a12c621131c508e58878890db3906 (patch) | |
| tree | 20a3f33253b27f8c1ed8abb2aca9881d14d700d5 /clang/lib/Sema | |
| parent | 19daa21f841ad45290c923689ee3d25198651a4c (diff) | |
| download | bcm5719-llvm-471d06020a6a12c621131c508e58878890db3906.tar.gz bcm5719-llvm-471d06020a6a12c621131c508e58878890db3906.zip | |
[CIndex] Fix annotate-deep-statements test when using a Debug build
Differential Revision: https://reviews.llvm.org/D70149
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index adefca7fe4e..ed42833531d 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -12950,7 +12950,8 @@ public: // expression or statement in the body of the function [and thus before // the value computation of its result]. SequencedSubexpression Sequenced(*this); - Base::VisitCallExpr(CE); + SemaRef.runWithSufficientStackSpace(CE->getExprLoc(), + [&] { Base::VisitCallExpr(CE); }); // FIXME: CXXNewExpr and CXXDeleteExpr implicitly call functions. } |

