[Swift 2.2] Patches for __FILE__ symbols

Please consider merging these patches into Swift 2.2, this adds support for the #file syntax, and produces deprecation warnings for __FILE__.

d522cd4270290e73ff4c957c252d4f2e8365b5a2
8dedfb31e3c8c60039efb0c038a355d2e8f33792
0619e57a61f27f721e273ab6f808ac81011aeb2c
87681ef0a122c1395aac8f89727575ca95265b6b

Here are the github links:
https://github.com/apple/swift/commit/d522cd4270290e73ff4c957c252d4f2e8365b5a2
https://github.com/apple/swift/commit/8dedfb31e3c8c60039efb0c038a355d2e8f33792
https://github.com/apple/swift/commit/0619e57a61f27f721e273ab6f808ac81011aeb2c
http://github.com/apple/swift/commit/87681ef0a122c1395aac8f89727575ca95265b6b

-Chris

I have created a pull request to track integrating these changes:

  [Swift 2.2] Pull in changes for SE-0028. by tkremenek · Pull Request #1218 · apple/swift · GitHub

The cherry-pick was not 100% clean. Running CI tests now.

···

On Feb 4, 2016, at 4:00 PM, Chris Lattner <clattner@apple.com> wrote:

Please consider merging these patches into Swift 2.2, this adds support for the #file syntax, and produces deprecation warnings for __FILE__.

d522cd4270290e73ff4c957c252d4f2e8365b5a2
8dedfb31e3c8c60039efb0c038a355d2e8f33792
0619e57a61f27f721e273ab6f808ac81011aeb2c
87681ef0a122c1395aac8f89727575ca95265b6b

Here are the github links:
Centralize the parsing logic for #identifiers and make it more simila… · apple/swift@d522cd4 · GitHub
https://github.com/apple/swift/commit/8dedfb31e3c8c60039efb0c038a355d2e8f33792
Switch the stdlib to use #file instead of __FILE__, and deprecate the… · apple/swift@0619e57 · GitHub
update changelog. · apple/swift@87681ef · GitHub

-Chris

Merged into swift-2.2-branch.

···

On Feb 5, 2016, at 4:39 PM, Ted Kremenek via swift-dev <swift-dev@swift.org> wrote:

I have created a pull request to track integrating these changes:

  [Swift 2.2] Pull in changes for SE-0028. by tkremenek · Pull Request #1218 · apple/swift · GitHub

The cherry-pick was not 100% clean. Running CI tests now.

On Feb 4, 2016, at 4:00 PM, Chris Lattner <clattner@apple.com <mailto:clattner@apple.com>> wrote:

Please consider merging these patches into Swift 2.2, this adds support for the #file syntax, and produces deprecation warnings for __FILE__.

d522cd4270290e73ff4c957c252d4f2e8365b5a2
8dedfb31e3c8c60039efb0c038a355d2e8f33792
0619e57a61f27f721e273ab6f808ac81011aeb2c
87681ef0a122c1395aac8f89727575ca95265b6b

Here are the github links:
Centralize the parsing logic for #identifiers and make it more simila… · apple/swift@d522cd4 · GitHub
https://github.com/apple/swift/commit/8dedfb31e3c8c60039efb0c038a355d2e8f33792
https://github.com/apple/swift/commit/0619e57a61f27f721e273ab6f808ac81011aeb2c
update changelog. · apple/swift@87681ef · GitHub

-Chris

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Thanks!

···

On Feb 5, 2016, at 6:12 PM, Ted Kremenek <kremenek@apple.com> wrote:

Merged into swift-2.2-branch.

On Feb 5, 2016, at 4:39 PM, Ted Kremenek via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I have created a pull request to track integrating these changes:

  [Swift 2.2] Pull in changes for SE-0028. by tkremenek · Pull Request #1218 · apple/swift · GitHub

The cherry-pick was not 100% clean. Running CI tests now.

On Feb 4, 2016, at 4:00 PM, Chris Lattner <clattner@apple.com <mailto:clattner@apple.com>> wrote:

Please consider merging these patches into Swift 2.2, this adds support for the #file syntax, and produces deprecation warnings for __FILE__.

d522cd4270290e73ff4c957c252d4f2e8365b5a2
8dedfb31e3c8c60039efb0c038a355d2e8f33792
0619e57a61f27f721e273ab6f808ac81011aeb2c
87681ef0a122c1395aac8f89727575ca95265b6b

Here are the github links:
Centralize the parsing logic for #identifiers and make it more simila… · apple/swift@d522cd4 · GitHub
https://github.com/apple/swift/commit/8dedfb31e3c8c60039efb0c038a355d2e8f33792
https://github.com/apple/swift/commit/0619e57a61f27f721e273ab6f808ac81011aeb2c
update changelog. · apple/swift@87681ef · GitHub

-Chris

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev