Skip to content

Commit 87d3d3e

Browse files
committed
[NFC] Add comments with SR numbers for language version mode changes
1 parent 327ea8b commit 87d3d3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/Parse/ParseExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ static MagicIdentifierLiteralExpr::Kind
10221022
getMagicIdentifierLiteralKind(tok Kind, const LangOptions &Opts) {
10231023
switch (Kind) {
10241024
case tok::pound_file:
1025-
// TODO: Enable by default at the next source break.
1025+
// TODO: Enable by default at the next source break. (SR-13199)
10261026
return Opts.EnableConcisePoundFile
10271027
? MagicIdentifierLiteralExpr::FileIDSpelledAsFile
10281028
: MagicIdentifierLiteralExpr::FilePathSpelledAsFile;

test/SILGen/magic_identifier_file.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// Test in "Swift 6" mode:
2222
// RUN: %target-swift-emit-silgen -I %t -enable-experimental-concise-pound-file -module-name Foo %/s | %FileCheck --check-prefixes=BOTH,CONCISE %s
2323

24+
// TODO: Update RUN lines currently using -enable-experimental-concise-pound-file to use -swift-version <whatever> instead. (SR-13199)
25+
2426
import MagicIdentifierFileSwift5
2527
import MagicIdentifierFileSwift6
2628

0 commit comments

Comments
 (0)