Skip to content

Commit

Permalink
Add an example of opting out of a clang-tidy rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Jul 27, 2023
1 parent 1806ef3 commit cdc0070
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example_logprintf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ void bad_func2()
{
LogPrintf("hello world!..");
}
void bad_func3_ignored()
{
LogPrintf("hello world!"); // NOLINT(bitcoin-unterminated-logprintf)
}

0 comments on commit cdc0070

Please sign in to comment.