Skip to content
Permalink
Browse files

[sipify] fix static const inline (#42607) (#42608)

  • Loading branch information
github-actions committed Apr 1, 2021
1 parent 2450c41 commit ce12cc494b2a42c61a3c8c6ee3c1b7aa3d4e7865
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 ce12cc4

Please sign in to comment.