🚨 suppress cppcoreguidelines-avoid-do-while
This commit is contained in:
parent
eca2ed5690
commit
e3f73112f3
@ -7,6 +7,7 @@ Checks: '*,
|
|||||||
-cert-err58-cpp,
|
-cert-err58-cpp,
|
||||||
-concurrency-mt-unsafe,
|
-concurrency-mt-unsafe,
|
||||||
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
||||||
|
-cppcoreguidelines-avoid-do-while,
|
||||||
-cppcoreguidelines-avoid-goto,
|
-cppcoreguidelines-avoid-goto,
|
||||||
-cppcoreguidelines-avoid-magic-numbers,
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
-cppcoreguidelines-avoid-non-const-global-variables,
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
||||||
|
|||||||
@ -2760,7 +2760,7 @@ class binary_reader
|
|||||||
*/
|
*/
|
||||||
char_int_type get_ignore_noop()
|
char_int_type get_ignore_noop()
|
||||||
{
|
{
|
||||||
do // NOLINT(cppcoreguidelines-avoid-do-while)
|
do
|
||||||
{
|
{
|
||||||
get();
|
get();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1499,7 +1499,7 @@ scan_number_done:
|
|||||||
|
|
||||||
void skip_whitespace()
|
void skip_whitespace()
|
||||||
{
|
{
|
||||||
do // NOLINT(cppcoreguidelines-avoid-do-while)
|
do
|
||||||
{
|
{
|
||||||
get();
|
get();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user