| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b9cd4f78-69ca-8f76-849c-3e10874af187 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D108:34CBC3:118750F:18FC80D:6A4CBE67 |
| html-safe-nonce | c11ade6a21ea4260336e16818a962f565617ddfa2600fc78c6cdd1c53b9eacad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTA4OjM0Q0JDMzoxMTg3NTBGOjE4RkM4MEQ6NkE0Q0JFNjciLCJ2aXNpdG9yX2lkIjoiMzY1NTc3ODg2MTY1NDUyMzQ5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 67782d8f68a96ea703b17612d58fe18cfb1acca482658563aa7b2d1b9456773b |
| hovercard-subject-tag | pull_request:3982027388 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| twitter:image | https://avatars.githubusercontent.com/u/1306044?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1306044?s=400&v=4 |
| og:image:alt | Previously we only did type deduction when the argument that was passed was a literal(ie f(0)). This expands this to handle variables and expressions.
There is no varid/SymbolDatabase/ValueType inf... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c03e7e569190bc89b638cdd4acb4b6c6b38a170a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8688%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8688%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
cppcheck-opensource
| https://github.com/cppcheck-opensource |
| cppcheck | https://github.com/cppcheck-opensource/cppcheck |
|
Notifications
| https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck |
|
Fork
1.6k
| https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck |
|
Star
6.7k
| https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck |
|
Code
| https://github.com/cppcheck-opensource/cppcheck |
|
Pull requests
206
| https://github.com/cppcheck-opensource/cppcheck/pulls |
|
Actions
| https://github.com/cppcheck-opensource/cppcheck/actions |
|
Security and quality
0
| https://github.com/cppcheck-opensource/cppcheck/security |
|
Insights
| https://github.com/cppcheck-opensource/cppcheck/pulse |
|
Code
| https://github.com/cppcheck-opensource/cppcheck |
|
Pull requests
| https://github.com/cppcheck-opensource/cppcheck/pulls |
|
Actions
| https://github.com/cppcheck-opensource/cppcheck/actions |
|
Security and quality
| https://github.com/cppcheck-opensource/cppcheck/security |
|
Insights
| https://github.com/cppcheck-opensource/cppcheck/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose |
| pfultz2 | https://github.com/pfultz2 |
| cppcheck-opensource:main | https://github.com/cppcheck-opensource/cppcheck/tree/main |
| pfultz2:template-type-deduction | https://github.com/pfultz2/cppcheck/tree/template-type-deduction |
|
Conversation
4
| https://github.com/cppcheck-opensource/cppcheck/pull/8688 |
|
Commits
19
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits |
|
Checks
70
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/checks |
|
Files changed
6
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
Expand template argument type deduction
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#top |
|
Show all changes
19 commits
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
2c68b09
Add template type deduction
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/2c68b095506b87dca0268cb1d2db22e0bef7acbb |
|
eecd903
Simplify
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/eecd90314f77f152afb01980a6221c152a6c2924 |
|
a43039a
Use a forward walk
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/a43039ab6b1b712e11841ea919bbcc8b519785ee |
|
695de6e
Handle global function template called from a class scope
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/695de6ecff157dd5dd1f695f4db83e5307a66beb |
|
b60e55e
Improve member functions
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/b60e55ee3b36720a5de241b7b9bce2959ebf859b |
|
de77bc6
Handle late class members
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/de77bc6dad1c878939e0b558fd16bfa3e2fca5ee |
|
90c62dc
Handle overloading better
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/90c62dc5b5cf596ae6c49616c6e79e4b25b81596 |
|
5ad01ad
Simplify and add unit tests
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/5ad01adec3bce3564879228d0a6a0c8a0c3c21d5 |
|
965281d
Improve comments
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/965281d8c192eec1bfc1efc5b6264faa148a2e1b |
|
d966681
Avoid output params
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/d966681ebf05962f879ef4f126ba5acd44dd0b49 |
|
f64190d
Format
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/f64190d041da29f2556d91089ab7459a68548d82 |
|
81da87b
Use stl algorithm
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/81da87b04d4f155fe703733808ff1ba2518df816 |
|
9b554ac
Format
Jul 2, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/9b554ac5450f1124076c5d1d8b7a48f290adc099 |
|
35e830a
Fix selfcheck
Jul 3, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/35e830a1bdf85508c6271ed9df5e88f8f41621dd |
|
770eeb9
Remvoe unnecessary move
Jul 3, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/770eeb9c5d4554e97d0f9cffbab55e60b9dcc38c |
|
0e81fca
Add test for 13630
Jul 3, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/0e81fcaebb496eafe943bd2e560fe38e8aa0048b |
|
e87f8d7
Format
Jul 3, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/e87f8d7b7e063070027113ad8f012f67b38155be |
|
9933641
Suppress unmatchedSuppression
Jul 4, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/9933641625ead5301b483ac304cc6e61d91ffc32 |
|
6dab97d
Merge
Jul 5, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/commits/6dab97d2f839407e2d9803ebf6887f79041f8517 |
|
Clear filters
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
.selfcheck_suppressions
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-0029735cbf6457344008fb0691f75e5f265bbd8aff54ecae28877ec2eeeb3d29 |
|
templatesimplifier.cpp
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-0a9ab01d77dec9fb9d0525110364e6aa80500eba0f61db0e4c959a9240a8ef0e |
|
templatesimplifier.h
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-97b2ec5c98362ddf09b424dc64b347a0df24703ce6bc5edcedac5a499a8acd46 |
|
utils.h
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-839661285af55d5134633b32ce8d2bd2a244939148620ee53b1fa97e5534bac6 |
|
testcondition.cpp
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-68bc312feeaa3108fa71f065b51bc1096f0ddbf41b39525d7499d0ade94467c8 |
|
testsimplifytemplate.cpp
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-8b915fc54a38f191e0887fd5cc69f96cb256df2d1985fa0465665f1438310189 |
| .selfcheck_suppressions | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-0029735cbf6457344008fb0691f75e5f265bbd8aff54ecae28877ec2eeeb3d29 |
|
View file
| https://github.com/cppcheck-opensource/cppcheck/blob/6dab97d2f839407e2d9803ebf6887f79041f8517/.selfcheck_suppressions |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-0029735cbf6457344008fb0691f75e5f265bbd8aff54ecae28877ec2eeeb3d29 |
| firewave | https://github.com/firewave |
| Jul 3, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#r3520888053 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| pfultz2 | https://github.com/pfultz2 |
| Jul 3, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#r3520917346 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| firewave | https://github.com/firewave |
| Jul 3, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#r3520946390 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
| https://github.com/cppcheck-opensource/cppcheck/pull/8688/files#diff-0029735cbf6457344008fb0691f75e5f265bbd8aff54ecae28877ec2eeeb3d29 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/8688/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |