Use SwiftSyntax version 600.0.0-prerelease-2024-03-11 (#5527)

We can also switch back to an exact SwiftSyntax version now with the
plugins in a separate repository. In fact, using the plugin, no direct
dependency to SwiftSyntax is required whatsoever.
This commit is contained in:
Danny Mösch
2024-06-22 11:14:14 +02:00
committed by GitHub
parent 72069bf5c0
commit 914fa02e4e
8 changed files with 21 additions and 28 deletions
@@ -349,8 +349,6 @@ public extension ClosureCaptureSyntax {
}
}
extension PrecedenceGroupDeclSyntax: BracedSyntax {}
private extension String {
var isZero: Bool {
if self == "0" { // fast path
@@ -6,7 +6,7 @@ public extension SyntaxClassification {
switch self {
case .lineComment, .docLineComment, .blockComment, .docBlockComment:
return true
case .none, .keyword, .identifier, .type, .operator, .dollarIdentifier, .integerLiteral,
case .none, .keyword, .identifier, .type, .operator, .dollarIdentifier, .integerLiteral, .argumentLabel,
.floatLiteral, .stringLiteral, .ifConfigDirective, .attribute, .editorPlaceholder, .regexLiteral:
return false
}