File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ extension IfConfigClauseSyntax {
610
610
/// Fold the operators within an #if condition, turning sequence expressions
611
611
/// involving the various allowed operators (&&, ||, !) into well-structured
612
612
/// binary operators.
613
- public static func foldOperators(
613
+ static func foldOperators(
614
614
_ condition: some ExprSyntaxProtocol
615
615
) -> ( folded: ExprSyntax , diagnostics: [ Diagnostic ] ) {
616
616
var foldingDiagnostics : [ Diagnostic ] = [ ]
@@ -635,7 +635,7 @@ extension IfConfigClauseSyntax {
635
635
/// Determine whether the given expression, when used as the condition in
636
636
/// an inactive `#if` clause, implies that syntax errors are permitted within
637
637
/// that region.
638
- public static func syntaxErrorsAllowed(
638
+ static func syntaxErrorsAllowed(
639
639
_ condition: some ExprSyntaxProtocol
640
640
) -> ( syntaxErrorsAllowed: Bool , diagnostics: [ Diagnostic ] ) {
641
641
let ( foldedCondition, foldingDiagnostics) = IfConfigClauseSyntax . foldOperators ( condition)
You can’t perform that action at this time.
0 commit comments