swift
487918f0 - Sema: Fix -warn-long-expression-type-checking when expression timer is turned off

Commit
170 days ago
Sema: Fix -warn-long-expression-type-checking when expression timer is turned off My change 983b75e1cf645be5133812094daaba2caca6ce36 broke -warn-long-expression-type-checking because now the ExpressionTimer is not instantiated by default and that entire code path is skipped. Change it so that if -warn-long-expression-type-checking is passed in, we still start the timer, we just don't ever consider it to have 'expired'. Fixes rdar://problem/152998878.
Author
Committer
Parents
Loading