Skip to content

Commit 9147787

Browse files
committed
[ASTGen] Reorder expression bridging function alphabetically
NFC
1 parent b9f7acb commit 9147787

File tree

2 files changed

+149
-149
lines changed

2 files changed

+149
-149
lines changed

include/swift/AST/ASTBridging.h

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,14 @@ BridgedStringRef BridgedVarDecl_getUserFacingName(BridgedVarDecl decl);
644644
// MARK: Exprs
645645
//===----------------------------------------------------------------------===//
646646

647+
SWIFT_NAME("BridgedArrayExpr.createParsed(_:lSquareLoc:elements:commaLocs:"
648+
"rSquareLoc:)")
649+
BridgedArrayExpr BridgedArrayExpr_createParsed(BridgedASTContext cContext,
650+
BridgedSourceLoc cLLoc,
651+
BridgedArrayRef elements,
652+
BridgedArrayRef commas,
653+
BridgedSourceLoc cRLoc);
654+
647655
SWIFT_NAME(
648656
"BridgedArrowExpr.createParsed(_:asyncLoc:throwsLoc:thrownType:arrowLoc:)")
649657
BridgedArrowExpr BridgedArrowExpr_createParsed(BridgedASTContext cContext,
@@ -661,6 +669,11 @@ BridgedAwaitExpr BridgedAwaitExpr_createParsed(BridgedASTContext cContext,
661669
BridgedSourceLoc cAwaitLoc,
662670
BridgedExpr cSubExpr);
663671

672+
SWIFT_NAME("BridgedBooleanLiteralExpr.createParsed(_:value:loc:)")
673+
BridgedBooleanLiteralExpr
674+
BridgedBooleanLiteralExpr_createParsed(BridgedASTContext cContext, bool value,
675+
BridgedSourceLoc cTokenLoc);
676+
664677
SWIFT_NAME("BridgedBorrowExpr.createParsed(_:borrowLoc:subExpr:)")
665678
BridgedBorrowExpr BridgedBorrowExpr_createParsed(BridgedASTContext cContext,
666679
BridgedSourceLoc cBorrowLoc,
@@ -700,18 +713,18 @@ BridgedCopyExpr BridgedCopyExpr_createParsed(BridgedASTContext cContext,
700713
BridgedSourceLoc cCopyLoc,
701714
BridgedExpr cSubExpr);
702715

703-
SWIFT_NAME("BridgedDiscardAssignmentExpr.createParsed(_:loc:)")
704-
BridgedDiscardAssignmentExpr
705-
BridgedDiscardAssignmentExpr_createParsed(BridgedASTContext cContext,
706-
BridgedSourceLoc cLoc);
707-
708716
SWIFT_NAME("BridgedDictionaryExpr.createParsed(_:lBracketLoc:elements:"
709717
"colonLocs:rBracketLoc:)")
710718
BridgedDictionaryExpr BridgedDictionaryExpr_createParsed(
711719
BridgedASTContext cContext, BridgedSourceLoc cLBracketLoc,
712720
BridgedArrayRef cElements, BridgedArrayRef cCommaLocs,
713721
BridgedSourceLoc cRBracketLoc);
714722

723+
SWIFT_NAME("BridgedDiscardAssignmentExpr.createParsed(_:loc:)")
724+
BridgedDiscardAssignmentExpr
725+
BridgedDiscardAssignmentExpr_createParsed(BridgedASTContext cContext,
726+
BridgedSourceLoc cLoc);
727+
715728
SWIFT_NAME("BridgedDotSelfExpr.createParsed(_:subExpr:dotLoc:selfLoc:)")
716729
BridgedDotSelfExpr BridgedDotSelfExpr_createParsed(BridgedASTContext cContext,
717730
BridgedExpr cSubExpr,
@@ -730,11 +743,22 @@ BridgedForcedCheckedCastExpr BridgedForcedCheckedCastExpr_createParsed(
730743
BridgedASTContext cContext, BridgedSourceLoc cAsLoc,
731744
BridgedSourceLoc cExclaimLoc, BridgedTypeRepr cType);
732745

746+
SWIFT_NAME("BridgedIntegerLiteralExpr.createParsed(_:value:loc:)")
747+
BridgedIntegerLiteralExpr
748+
BridgedIntegerLiteralExpr_createParsed(BridgedASTContext cContext,
749+
BridgedStringRef cStr,
750+
BridgedSourceLoc cTokenLoc);
751+
733752
SWIFT_NAME("BridgedIsExpr.createParsed(_:isLoc:type:)")
734753
BridgedIsExpr BridgedIsExpr_createParsed(BridgedASTContext cContext,
735754
BridgedSourceLoc cIsLoc,
736755
BridgedTypeRepr cType);
737756

757+
SWIFT_NAME("BridgedNilLiteralExpr.createParsed(_:nilKeywordLoc:)")
758+
BridgedNilLiteralExpr
759+
BridgedNilLiteralExpr_createParsed(BridgedASTContext cContext,
760+
BridgedSourceLoc cNilKeywordLoc);
761+
738762
SWIFT_NAME("BridgedOptionalTryExpr.createParsed(_:tryLoc:subExpr:questionLoc:)")
739763
BridgedOptionalTryExpr BridgedOptionalTryExpr_createParsed(
740764
BridgedASTContext cContext, BridgedSourceLoc cTryLoc, BridgedExpr cSubExpr,
@@ -752,6 +776,20 @@ BridgedPackExpansionExpr_createParsed(BridgedASTContext cContext,
752776
BridgedSourceLoc cRepeatLoc,
753777
BridgedExpr cPatternExpr);
754778

779+
SWIFT_NAME("BridgedPostfixUnaryExpr.createParsed(_:operator:operand:)")
780+
BridgedPostfixUnaryExpr
781+
BridgedPostfixUnaryExpr_createParsed(BridgedASTContext cContext,
782+
BridgedExpr oper, BridgedExpr operand);
783+
784+
SWIFT_NAME("BridgedPrefixUnaryExpr.createParsed(_:operator:operand:)")
785+
BridgedPrefixUnaryExpr
786+
BridgedPrefixUnaryExpr_createParsed(BridgedASTContext cContext,
787+
BridgedExpr oper, BridgedExpr operand);
788+
789+
SWIFT_NAME("BridgedSequenceExpr.createParsed(_:exprs:)")
790+
BridgedSequenceExpr BridgedSequenceExpr_createParsed(BridgedASTContext cContext,
791+
BridgedArrayRef exprs);
792+
755793
SWIFT_NAME("BridgedSingleValueStmtExpr.createWithWrappedBranches(_:stmt:"
756794
"declContext:mustBeExpr:)")
757795
BridgedSingleValueStmtExpr BridgedSingleValueStmtExpr_createWithWrappedBranches(
@@ -764,10 +802,6 @@ BridgedStringLiteralExpr_createParsed(BridgedASTContext cContext,
764802
BridgedStringRef cStr,
765803
BridgedSourceLoc cTokenLoc);
766804

767-
SWIFT_NAME("BridgedSequenceExpr.createParsed(_:exprs:)")
768-
BridgedSequenceExpr BridgedSequenceExpr_createParsed(BridgedASTContext cContext,
769-
BridgedArrayRef exprs);
770-
771805
SWIFT_NAME("BridgedTernaryExpr.createParsed(_:questionLoc:thenExpr:colonLoc:)")
772806
BridgedTernaryExpr BridgedTernaryExpr_createParsed(
773807
BridgedASTContext cContext, BridgedSourceLoc cQuestionLoc,
@@ -788,40 +822,6 @@ SWIFT_NAME("BridgedTupleExpr.createParsedDictionaryElement(_:key:value:)")
788822
BridgedTupleExpr BridgedTupleExpr_createParsedDictionaryElement(
789823
BridgedASTContext cContext, BridgedExpr cKeyExpr, BridgedExpr cValueExpr);
790824

791-
SWIFT_NAME("BridgedIntegerLiteralExpr.createParsed(_:value:loc:)")
792-
BridgedIntegerLiteralExpr
793-
BridgedIntegerLiteralExpr_createParsed(BridgedASTContext cContext,
794-
BridgedStringRef cStr,
795-
BridgedSourceLoc cTokenLoc);
796-
797-
SWIFT_NAME("BridgedBooleanLiteralExpr.createParsed(_:value:loc:)")
798-
BridgedBooleanLiteralExpr
799-
BridgedBooleanLiteralExpr_createParsed(BridgedASTContext cContext, bool value,
800-
BridgedSourceLoc cTokenLoc);
801-
802-
SWIFT_NAME("BridgedNilLiteralExpr.createParsed(_:nilKeywordLoc:)")
803-
BridgedNilLiteralExpr
804-
BridgedNilLiteralExpr_createParsed(BridgedASTContext cContext,
805-
BridgedSourceLoc cNilKeywordLoc);
806-
807-
SWIFT_NAME("BridgedArrayExpr.createParsed(_:lSquareLoc:elements:commaLocs:"
808-
"rSquareLoc:)")
809-
BridgedArrayExpr BridgedArrayExpr_createParsed(BridgedASTContext cContext,
810-
BridgedSourceLoc cLLoc,
811-
BridgedArrayRef elements,
812-
BridgedArrayRef commas,
813-
BridgedSourceLoc cRLoc);
814-
815-
SWIFT_NAME("BridgedPostfixUnaryExpr.createParsed(_:operator:operand:)")
816-
BridgedPostfixUnaryExpr
817-
BridgedPostfixUnaryExpr_createParsed(BridgedASTContext cContext,
818-
BridgedExpr oper, BridgedExpr operand);
819-
820-
SWIFT_NAME("BridgedPrefixUnaryExpr.createParsed(_:operator:operand:)")
821-
BridgedPrefixUnaryExpr
822-
BridgedPrefixUnaryExpr_createParsed(BridgedASTContext cContext,
823-
BridgedExpr oper, BridgedExpr operand);
824-
825825
SWIFT_NAME("BridgedTypeExpr.createParsed(_:type:)")
826826
BridgedTypeExpr BridgedTypeExpr_createParsed(BridgedASTContext cContext,
827827
BridgedTypeRepr cType);

0 commit comments

Comments
 (0)