Skip to content

Template argument deduction using SymbolDatabase - #8720

Open
pfultz2 wants to merge 29 commits into
cppcheck-opensource:mainfrom
pfultz2:template-deduce-loop
Open

Template argument deduction using SymbolDatabase#8720
pfultz2 wants to merge 29 commits into
cppcheck-opensource:mainfrom
pfultz2:template-deduce-loop

Add test for 13630

8016585
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Cppcheck Premium succeeded Jul 27, 2026 in 4s

4 new alerts

New alerts in code changed by this pull request

  • 4 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 967 in lib/templatesimplifier.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

The structure of a switch statement shall be appropriate: switch statements shall have default label as the first or the last case Warning

The structure of a switch statement shall be appropriate: switch statements shall have default label as the first or the last case

Check warning on line 1026 in lib/templatesimplifier.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not dereference null pointers Warning

Do not dereference null pointers

Check warning on line 1104 in lib/templatesimplifier.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not depend on the order of evaluation for side effects Warning

Do not depend on the order of evaluation for side effects

Check warning on line 1104 in lib/templatesimplifier.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not depend on the order of evaluation for side effects Warning

Do not depend on the order of evaluation for side effects