File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,8 @@ void CompilerInstance::performSema() {
549
549
performTypeChecking (*SF, PersistentState.getTopLevelContext (),
550
550
TypeCheckOptions, /* curElem*/ 0 ,
551
551
options.WarnLongFunctionBodies ,
552
- options.WarnLongExpressionTypeChecking );
552
+ options.WarnLongExpressionTypeChecking ,
553
+ options.SolverExpressionTimeThreshold );
553
554
554
555
// Even if there were no source files, we should still record known
555
556
// protocols.
Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ class TypeChecker final : public LazyResolver {
837
837
838
838
// / If non-zero, abort the expression type checker if it takes more
839
839
// / than this many seconds.
840
- unsigned ExpressionTimeoutThreshold = 60 ;
840
+ unsigned ExpressionTimeoutThreshold = 600 ;
841
841
842
842
// / If true, the time it takes to type-check each function will be dumped
843
843
// / to llvm::errs().
You can’t perform that action at this time.
0 commit comments