Skip to content

Commit

Permalink
Merge pull request #9583 from albert-github/feature/issue_9582
Browse files Browse the repository at this point in the history
issue #9582 `noexcept(false)`-function is labeled as noexcept
  • Loading branch information
doxygen committed Sep 6, 2022
2 parents dd33721 + 2b5ca74 commit c345c22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scanner.l
Expand Up @@ -4895,6 +4895,10 @@ NONLopt [^\n]*
yyextra->current->args += " noexcept ";
yyextra->current->spec |= Entry::NoExcept;
}
<FuncQual>{BN}*"noexcept"{BN}*"("{B}*false{B}*")"{BN}* { // noexcept(false) expression
lineCount(yyscanner) ;
yyextra->current->args += " noexcept(false)";
}
<FuncQual>{BN}*"noexcept"{BN}*"(" { // noexcept expression
lineCount(yyscanner) ;
yyextra->current->args += " noexcept(";
Expand Down

0 comments on commit c345c22

Please sign in to comment.