File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ class SILExtInfoBuilder {
516
516
517
517
public:
518
518
// Constructor with all defaults.
519
- SILExtInfoBuilder () : bits( 0 ), clangTypeInfo( ClangTypeInfo(nullptr )) {}
519
+ SILExtInfoBuilder () : SILExtInfoBuilder( 0 , ClangTypeInfo(nullptr )) {}
520
520
521
521
// Constructor for polymorphic type.
522
522
SILExtInfoBuilder (Representation rep, bool isPseudogeneric, bool isNoEscape,
@@ -526,6 +526,12 @@ class SILExtInfoBuilder {
526
526
diffKind),
527
527
ClangTypeInfo (type)) {}
528
528
529
+ SILExtInfoBuilder (ASTExtInfoBuilder info, bool isPseudogeneric)
530
+ : SILExtInfoBuilder(makeBits(info.getSILRepresentation(), isPseudogeneric,
531
+ info.isNoEscape(), info.isAsync(),
532
+ info.getDifferentiabilityKind()),
533
+ info.getClangTypeInfo()) {}
534
+
529
535
void checkInvariants () const ;
530
536
531
537
// / Check if \c this is well-formed and create an ExtInfo.
You can’t perform that action at this time.
0 commit comments