Skip to content
Permalink
Browse files

[sipify] fix static const inline (#42607)

* [sipify] fix static const inline

* remove extra match
  • Loading branch information
3nids authored and github-actions committed Apr 1, 2021
1 parent 2450c41 commit 2abdb1b33b5b4fe1a2a03728ca4a8682bef8712d
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sipify.pl
@@ -1110,7 +1110,7 @@ sub detect_non_method_member{
$LINE =~ s/\s*\bMAYBE_UNUSED \b//;
$LINE =~ s/\s*\bNODISCARD \b//;
$LINE =~ s/\s*\bQ_DECL_DEPRECATED\b//;
$LINE =~ s/^(\s*)?(const )?(virtual |static )?inline /$1$2$3/;
$LINE =~ s/^(\s*)?(const |virtual |static )*inline /$1$2/;
$LINE =~ s/\bconstexpr\b/const/;
$LINE =~ s/\bnullptr\b/0/g;
$LINE =~ s/\s*=\s*default\b//g;

0 comments on commit 2abdb1b

Please sign in to comment.