Skip to content
Permalink
Browse files

[sipify] fix static const inline (#42607)

* [sipify] fix static const inline

* remove extra match
  • Loading branch information
3nids committed Apr 1, 2021
1 parent 2159f4e commit 6ff14b563d82d894d9df807ecf8bb52c914f4ec8
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 6ff14b5

Please sign in to comment.