Commit Graph

79 Commits

Author SHA1 Message Date
Danny Mösch 3a3ec07952 Fix Bazel build when bzlmod is not in use (#5580) 2024-05-15 21:26:11 +02:00
Danny Mösch 0a2878d559 Update Bazel and SPM dependencies (#5563)
SourceKitten 0.35.0
Swift Argument Parser 1.3.1
SwiftSyntax 510.0.2
2024-05-09 10:21:53 +02:00
Takuhiro Muta 17b5880550 Update CryptoSwift to 1.8.0 (#5341) 2023-11-10 16:42:34 +00:00
Danny Mösch 58928b7e40 Enforce any on existential types (#5273)
This makes syntactically clear which types are rather expensive.
2023-10-12 08:37:23 +02:00
Keith Smiley 347af1c022 Switch to swift-syntax through bzlmod (#5222) 2023-09-15 05:34:56 +02:00
Danny Mösch add15d00c2 Update SwiftSyntax to release aligned with Swift 5.9 (#5221) 2023-09-15 00:23:47 +02:00
Danny Mösch 35a78815d1 Update SwiftSyntax (#5198) 2023-09-14 22:49:55 +02:00
Danny Mösch b281a8d33a Update SwiftSyntax (#5168) 2023-08-30 22:57:10 +02:00
Danny Mösch 9873330eee Update SwiftSyntax (#5124) 2023-07-15 21:52:24 +02:00
JP Simard 5e04661e63 Mark rules_xcodeproj as a dev_dependency (#5112)
To do this, the `xcodeproj` definition needs to move out of the main
`BUILD` file, so it's now moved to `bazel/BUILD`.

The command to generate the Bazel Xcode project is now

```
bazel run //bazel:xcodeproj
```
2023-07-09 09:54:04 -04:00
JP Simard a8893431f5 Update SwiftSyntax (#5104)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-07-04-a
2023-07-06 13:33:37 -04:00
JP Simard f1c6c72add Update SwiftSyntax (#5071)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a
2023-06-20 19:55:15 -04:00
JP Simard d32bf2b879 Update CryptoSwift (#5059)
Diff: https://github.com/krzyzanowskim/CryptoSwift/compare/1.7.1...1.7.2
2023-06-12 19:23:33 +00:00
JP Simard e5cf99088b Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a (#5058)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-02-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
2023-06-12 15:22:17 -04:00
JP Simard eb6d50a04c Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b (#4982) 2023-05-10 15:02:58 -04:00
JP Simard 6b094dd711 [SwiftSyntax] Update to latest 509.0.0 tag (#4920)
* [bazel] Remove custom SwiftSyntax BUILD file

Something similar to this has been merged upstream instead now. This
also renames the repo name to SwiftSyntax in preparation for it being in
the BCR

* [SwiftSyntax] Update to latest 509.0.0 tag

https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b
2023-05-03 11:34:26 -04:00
JP Simard eaf34d7204 Move extra rules into its own module (#4949)
This will decouple building extra rules from built-in rules so that
making changes in one of those modules doesn't rebuild the other.
2023-04-27 10:37:30 -04:00
JP Simard 9c2525139a Update CryptoSwift to 1.7.1 (#4916)
To fix Swift 5.8 warnings
2023-04-21 14:15:44 +00:00
JP Simard 0f802f766a [CI] Remove update_swift_syntax.yml (#4906)
We now manually update SwiftSyntax as needed.
2023-04-18 21:35:43 +00:00
JP Simard f9b0e9f0af Update CryptoSwift to 1.7.0 (#4899) 2023-04-17 10:37:40 +00:00
JP Simard 70a56a1420 Update SwiftSyntax to 04-10 snapshot (#4887)
https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-10-a
2023-04-13 14:04:43 -04:00
Danny Mösch 58a07eb452 Update SwiftSyntax (#4852) 2023-03-31 23:12:31 +02:00
Keith Smiley 084ad9dfd4 Remove unused _SwiftSyntaxMacros library (#4802)
This one was actually renamed to not have the underscore but it's not
used so we might as well drop it.
2023-03-07 17:54:46 +00:00
JP Simard 5c94a43352 Update SourceKitten for Bazel without bzlmod (#4778)
Missed this in #4776.
2023-02-20 22:32:58 +00:00
JP Simard 2f0e537f9b Update SwiftSyntax to latest development snapshot (#4759)
* Merge `spacedBinaryOperator` and `unspacedBinaryOperator`

* New contextual keyword enums

* Update for removed `UnavailabilityConditionSyntax`

* Handle how attributes are now defined

This partially reverts commit 325d0ee1e4.

* Handle removal of `TokenListSyntax`

* Update `Package.swift`

* Extract some SwiftSyntax helpers

* Update to `0.50900.0-swift-DEVELOPMENT-SNAPSHOT-2023-02-06-a`

* Skip attributes with keypath arguments in `attributes` rule

To preserve the rule's existing behavior.

* Limit unowned_variable_capture violations to capture lists

* Add changelog entries
2023-02-20 10:51:31 -05:00
Thi Doãn 6a9e6776a9 Update BUILD file for SwiftSyntax (#4768) 2023-02-16 13:25:16 -05:00
Keith Smiley 23e4db3e5f Add support for bzlmod (#4704) 2023-01-19 17:04:21 -05:00
JP Simard dc228d57ac Update dependencies (#4702) 2023-01-17 12:59:32 -05:00
JP Simard e6d4ad653c Pin SwiftSyntax to a tagged version (#4674)
Specifically this tag:
https://github.com/apple/swift-syntax/releases/tag/0.50800.0-SNAPSHOT-2022-12-29-a

This should make SwiftPM happier about the stability of the pinned
version.

Also switch the CI job to run on macOS to avoid adding Linux-only deps
to the `Package.resolved` file (e.g. CryptoSwift).
2023-01-06 13:10:59 -05:00
github-actions[bot] bcfc2c4b6c Update SwiftSyntax (#4673)
* Exclude `Documentation.docc` when building SwiftSyntax
* Remove references to `.stringInterpolationAnchor`

Co-authored-by: JP Simard <jp@jpsim.com>
2023-01-06 11:12:17 -05:00
github-actions[bot] 470d471e51 Update SwiftSyntax (#4659)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-26 09:37:51 -05:00
github-actions[bot] 4a6387da67 Update SwiftSyntax (#4649)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-19 09:22:53 -05:00
github-actions[bot] 33fa42becb Update SwiftSyntax (#4644)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-14 11:17:34 -05:00
github-actions[bot] 25c3fb161d Update SwiftSyntax (#4639)
* `ObjcKeyPathExprSyntax` -> `MacroExpansionExprSyntax`
* Fix `#selector()` and add a regression test

Co-authored-by: JP Simard <jp@jpsim.com>
2022-12-14 10:52:47 -05:00
github-actions[bot] 6734a64554 Update SwiftSyntax (#4636)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-09 13:25:09 -05:00
github-actions[bot] 7f8eb9de77 Update SwiftSyntax (#4629)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-07 17:44:23 -05:00
github-actions[bot] ac44fe23b6 Update SwiftSyntax (#4621)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-12-05 08:40:45 -05:00
github-actions[bot] 9cb1069090 Update SwiftSyntax (#4605)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-11-29 15:30:56 -05:00
JP Simard 1dbde3d9c3 Update SourceKitten to 0.33.1 (#4569)
To make SwiftPM happy about the package being set to a stable release.
2022-11-21 09:52:23 -05:00
github-actions[bot] cc49e82348 Update SwiftSyntax (#4567)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-11-21 09:15:01 -05:00
github-actions[bot] cd291b043a Update SwiftSyntax (#4556) 2022-11-18 14:41:07 -05:00
github-actions[bot] 9d2ec3dc8d Update SwiftSyntax (#4547)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-11-13 19:35:15 -05:00
github-actions[bot] ac7833aaf4 Update SwiftSyntax (#4535)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-11-08 23:01:13 -05:00
github-actions[bot] 5fceb213d9 Update SwiftSyntax (#4529)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-11-08 10:24:02 -05:00
github-actions[bot] fe141cd3b6 Update SwiftSyntax (#4527)
Diff: https://github.com/apple/swift-syntax/compare/e1f771ea8ad8bc172de766e0963a76aeb7b08cef...4fa6e6b0ff2302a643e5a1dcd17233a48e21cf7d
2022-11-07 10:42:36 -05:00
JP Simard 759408fdb5 Update SwiftSyntax (#4506)
This update pulls in https://github.com/apple/swift-syntax/pull/1050,
which fixes a memory leak, reducing memory usage by up to 3x and
improves lint times by 20%-50% in my tests.
2022-11-04 06:05:38 -04:00
github-actions[bot] 6ad4a704f5 Update SwiftSyntax (#4497) 2022-10-31 09:49:40 -04:00
JP Simard d551cb8c16 Update SwiftSyntax (#4480)
Moves syntax classifications to a new IDEUtils module.
2022-10-28 09:23:06 -04:00
github-actions[bot] 7738f0c0a5 Update SwiftSyntax (#4476)
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
2022-10-24 17:10:17 -04:00
JP Simard 374130bb56 Update SwiftSyntax on a weekly scheduled CI job (#4475) 2022-10-24 16:37:29 -04:00