Skip to content

Commit b46de90

Browse files
committedApr 30, 2017
[sipify| do not write docstring for [] operator
1 parent c5dcfc1 commit b46de90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ sub remove_constructor_or_body {
656656
$is_override = 0;
657657
next;
658658
}
659-
elsif ( $line =~ m/\/\// || $line =~ m/\s*typedef / || $line =~ m/\s*struct / ){
659+
elsif ( $line =~ m/\/\// || $line =~ m/\s*typedef / || $line =~ m/\s*struct / || $line =~ m/operator\[\]\(/ ){
660660
$comment = '';
661661
}
662662
elsif ( $comment !~ m/^\s*$/ || $return_type ne ''){

0 commit comments

Comments
 (0)
Please sign in to comment.