Skip to content

Commit bd4db51

Browse files
committed
Added synth member to result
1 parent 11730e8 commit bd4db51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3602,6 +3602,8 @@ namespace {
36023602
cxxOperatorKind != clang::OverloadedOperatorKind::OO_Subscript) {
36033603

36043604
auto d = makeOperator(MD, cxxMethod);
3605+
result->addMember(d);
3606+
36053607
Impl.addAlternateDecl(MD, d);
36063608

36073609
Impl.markUnavailable(MD, "use - operator");

0 commit comments

Comments
 (0)