File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ sub processDoxygenLine
287
287
288
288
do {no warnings ' uninitialized' ;
289
289
# remove keywords
290
- $line =~ s /\s *override( SIP_ \w +( \( .+ \) )?)?; / $1 ; / ;
290
+ $line =~ s /\s *\b override \b / / ;
291
291
$line =~ s / ^(\s *)?(const )?(virtual |static )?inline / $1$2$3 / ;
292
292
$line =~ s /\b nullptr\b / 0/ g ;
293
293
$line =~ s /\s *=\s *default\b // g ;
@@ -321,7 +321,7 @@ sub processDoxygenLine
321
321
}
322
322
323
323
# remove function bodies
324
- if ( $line =~ m / ^(\s *)?(const )?(virtual |static )?((\w +(<.*?>)?\s +(\* |&)?)?(\w +|operator.)\( .*?(\( .*\) )*.*\) ( (?:const|SIP_[A-Z_]*?))*)\s *(override)? \s *( \{ .*\} )?(?!;)(\s *\/\/ .*)?$ / ){
324
+ if ( $line =~ m / ^(\s *)?(const )?(virtual |static )?((\w +(<.*?>)?\s +(\* |&)?)?(\w +|operator.)\( .*?(\( .*\) )*.*\) ( (?:const|SIP_[A-Z_]*?))*)\s *(\{ .*\} )?(?!;)(\s *\/\/ .*)?$ / ){
325
325
my $newline = " $1$2$3$4 ;\n " ;
326
326
if ($line !~ m /\{ .*?\} $ / ){
327
327
$line = readline $header ;
You can’t perform that action at this time.
0 commit comments