Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ignore cppcheck suppression in sipify
  • Loading branch information
nyalldawson committed Apr 17, 2023
1 parent 1b10eb9 commit a7f12a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/sipify.pl
Expand Up @@ -625,6 +625,10 @@ sub detect_non_method_member{
next;
}

if ( $LINE =~ m/^(.*?)\s*\/\/\s*cppcheck-suppress.*$/ ){
$LINE = "$1";
}

if ($LINE =~ m/^\s*SIP_FEATURE\( (\w+) \)(.*)$/){
write_output("SF1", "%Feature $1$2\n");
next;
Expand Down

0 comments on commit a7f12a5

Please sign in to comment.