Skip to content

Commit 4dc2eac

Browse files
committed
[master-next] After LLVM r344359, Timer names with slashes do not work.
The code in TimerGroup::printJSONValue asserts that the name does not need to be quoted. Perhaps we can get this fixed, but for now at least, rename a Timer that has a forward slash in its name.
1 parent 5f3c2d1 commit 4dc2eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ void swift::performTypeChecking(SourceFile &SF, TopLevelContext &TLC,
492492
performNameBinding(SF, StartElem);
493493

494494
{
495-
SharedTimer timer("Type checking / Semantic analysis");
495+
SharedTimer timer("Type checking and Semantic analysis");
496496

497497
TC.setWarnLongFunctionBodies(WarnLongFunctionBodies);
498498
TC.setWarnLongExpressionTypeChecking(WarnLongExpressionTypeChecking);

0 commit comments

Comments
 (0)