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 {
103103 SWIFT_NAME (" flag" )
104104 SwiftInt Flag;
105105
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);
114109};
115110
116111class BridgedDeclBaseName {
Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ swift::DeclBaseName BridgedDeclBaseName::unbridged() const {
4848 return swift ::DeclBaseName (Ident .unbridged ());
4949}
5050
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+
5160//===----------------------------------------------------------------------===//
5261// MARK: BridgedDeclNameRef
5362//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments