Skip to content

refs #14498 - do not create global static instances of the checks - #8555

Merged
firewave merged 3 commits into
cppcheck-opensource:mainfrom
firewave:inst
May 16, 2026
Merged

refs #14498 - do not create global static instances of the checks#8555
firewave merged 3 commits into
cppcheck-opensource:mainfrom
firewave:inst

checks.cpp: prevent uncrustify changes to macro

7623d18
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Cppcheck Premium succeeded May 15, 2026 in 7s

1 new alert

New alerts in code changed by this pull request

  • 1 warning

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 49 in lib/checks.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Understand macro replacement when concatenating tokens or performing stringification. Warning

Understand macro replacement when concatenating tokens or performing stringification.

Check warning on line 49 in lib/checks.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Parentheses shall be used to ensure macro arguments are expanded appropriately Warning

Parentheses shall be used to ensure macro arguments are expanded appropriately

Check warning on line 49 in lib/checks.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not define unsafe macros. Warning

Do not define unsafe macros.

Check warning on line 49 in lib/checks.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Parentheses shall be used to ensure macro arguments are expanded appropriately Warning

Parentheses shall be used to ensure macro arguments are expanded appropriately