File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -103,14 +103,9 @@ struct BridgedConsumedLookupResult {
103
103
SWIFT_NAME (" flag" )
104
104
SwiftInt Flag;
105
105
106
- #ifdef USED_IN_CPP_SOURCE
107
- BridgedConsumedLookupResult (swift::Identifier name,
108
- swift::SourceLoc sourceLoc, SwiftInt flag)
109
- : Name(BridgedIdentifier(name)), NameLoc(BridgedSourceLoc(sourceLoc)),
110
- Flag(flag) {}
111
- #endif
112
-
113
- BridgedConsumedLookupResult (void *_Nullable, void *_Nullable, int ); // DO NOT CALL
106
+ BRIDGED_INLINE BridgedConsumedLookupResult (swift::Identifier name,
107
+ swift::SourceLoc sourceLoc,
108
+ SwiftInt flag);
114
109
};
115
110
116
111
class BridgedDeclBaseName {
Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ swift::DeclBaseName BridgedDeclBaseName::unbridged() const {
48
48
return swift ::DeclBaseName (Ident .unbridged ());
49
49
}
50
50
51
+ //===----------------------------------------------------------------------===//
52
+ // MARK: BridgedDeclBaseName
53
+ //===----------------------------------------------------------------------===//
54
+
55
+ BridgedConsumedLookupResult ::BridgedConsumedLookupResult (
56
+ swift ::Identifier name , swift ::SourceLoc sourceLoc , SwiftInt flag )
57
+ : Name (BridgedIdentifier (name )), NameLoc (BridgedSourceLoc (sourceLoc )),
58
+ Flag (flag ) {}
59
+
51
60
//===----------------------------------------------------------------------===//
52
61
// MARK: BridgedDeclNameRef
53
62
//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments