| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8f6a1490-b32a-1fe7-5dd0-643bae55e68a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88A0:1F7031:21C88D:2F3343:6A511413 |
| html-safe-nonce | 31c6a77a065dbd26d96a50fb8f49d1bb8961c0615178f4b77ea96966a30a10dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEEwOjFGNzAzMToyMUM4OEQ6MkYzMzQzOjZBNTExNDEzIiwidmlzaXRvcl9pZCI6IjE2OTIwODgyODM0NDIxMDQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 64d4b8365d4a4fad84e0ff08ca09234fc2562fffb6d88f5bbc45a0bc1a5004dd |
| hovercard-subject-tag | pull_request:1899139629 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/6472/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3ad7de1ec26ec75d3b184cc74ccf5a08f73754f3537019e04b4ebf5ed1734a66/cppcheck-opensource/cppcheck/pull/6472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ad7de1ec26ec75d3b184cc74ccf5a08f73754f3537019e04b4ebf5ed1734a66/cppcheck-opensource/cppcheck/pull/6472 |
| og:image:alt | This rule catches cases where multiple tok->next()-next() calls can be simplified to tok-tokAt(2)
Reference: https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | orbitcowboy |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f9137f6d981cbbfd780af369f80ce890b2d0d2d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/cppcheck-opensource/cppcheck/pull/6472#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F6472 |
| 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/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/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/enterprise/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%2F6472 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
|
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
205
| 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 |
| orbitcowboy | https://github.com/orbitcowboy |
| main | https://github.com/cppcheck-opensource/cppcheck/tree/main |
| added_rule_to_simplify_token_matching | https://github.com/cppcheck-opensource/cppcheck/tree/added_rule_to_simplify_token_matching |
| Conversation | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| Commits3 (3) | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits |
| Checks | https://github.com/cppcheck-opensource/cppcheck/pull/6472/checks |
| Files changed | https://github.com/cppcheck-opensource/cppcheck/pull/6472/files |
| Added rule to simplify token matching | https://github.com/cppcheck-opensource/cppcheck/pull/6472#top |
| orbitcowboy | https://github.com/orbitcowboy |
| main | https://github.com/cppcheck-opensource/cppcheck/tree/main |
| added_rule_to_simplify_token_matching | https://github.com/cppcheck-opensource/cppcheck/tree/added_rule_to_simplify_token_matching |
|
| https://github.com/orbitcowboy |
| orbitcowboy | https://github.com/orbitcowboy |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issue-2329168959 |
| https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f240f74a#r1623220527 | https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f240f74a#r1623220527 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
|
| https://github.com/orbitcowboy |
| Added rule to simplify token matching | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/7c70f5461d79d3ed578f55d0bbf2c11f014bc801 |
| 7c70f54 | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/7c70f5461d79d3ed578f55d0bbf2c11f014bc801 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143471211 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143478824 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/chrchr-github |
| chrchr-github | https://github.com/chrchr-github |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143495363 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| orbitcowboy | https://github.com/orbitcowboy |
| June 1, 2024 17:59 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#commits-pushed-cab08c5 |
|
| https://github.com/orbitcowboy |
| Added another rule 'tok->next()->link() --> tok->linkAt(1)' | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/cab08c5a77ab2a8ec38b1f3e7e2047aa7d1f3df1 |
| cab08c5 | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/cab08c5a77ab2a8ec38b1f3e7e2047aa7d1f3df1 |
|
| https://github.com/orbitcowboy |
| Updated error id | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/d417c54d77124b1b6be491529de995d75b26a0c2 |
| d417c54 | https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/d417c54d77124b1b6be491529de995d75b26a0c2 |
| https://github.com/orbitcowboy |
| orbitcowboy | https://github.com/orbitcowboy |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143497373 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/orbitcowboy |
| orbitcowboy | https://github.com/orbitcowboy |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143514938 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| #6476 | https://github.com/cppcheck-opensource/cppcheck/pull/6476 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/orbitcowboy |
| orbitcowboy | https://github.com/orbitcowboy |
|
Jun 1, 2024
| https://github.com/cppcheck-opensource/cppcheck/pull/6472#ref-pullrequest-2329247423 |
|
Replaced 'tok->next()->link()' by 'tok->linkAt(1)'
#6476
| https://github.com/cppcheck-opensource/cppcheck/pull/6476 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143543632 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/chrchr-github |
| chrchr-github | https://github.com/chrchr-github |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143544908 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143545357 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143546388 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/chrchr-github |
| chrchr-github | https://github.com/chrchr-github |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143548169 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 1, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143551667 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| chrchr-github | https://github.com/chrchr-github |
|
Jun 1, 2024
| https://github.com/cppcheck-opensource/cppcheck/pull/6472#ref-commit-7b22594 |
|
| https://github.com/orbitcowboy |
| Replaced 'tok->next()->link()' by 'tok->linkAt(1)' ( | https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e |
| #6476 | https://github.com/cppcheck-opensource/cppcheck/pull/6476 |
| ) | https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e |
| 7b22594 | https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e |
| #6472 | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 3, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2145793782 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/chrchr-github |
| chrchr-github | https://github.com/chrchr-github |
| Jun 3, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2146038603 |
| @pfultz2 | https://github.com/pfultz2 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 5, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2149343953 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 9, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2156627049 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/orbitcowboy |
| orbitcowboy | https://github.com/orbitcowboy |
| Jun 9, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2156636887 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 10, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2157594781 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160299085 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160309191 |
| #6211 | https://github.com/cppcheck-opensource/cppcheck/pull/6211 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160613560 |
| #6211 | https://github.com/cppcheck-opensource/cppcheck/pull/6211 |
| @pfultz2 | https://github.com/pfultz2 |
| @orbitcowboy | https://github.com/orbitcowboy |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160714321 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/pfultz2 |
| pfultz2 | https://github.com/pfultz2 |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160754814 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/pfultz2 |
| pfultz2 | https://github.com/pfultz2 |
| Jun 11, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160789008 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 12, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2163500133 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/danmar |
| danmar | https://github.com/danmar |
| Jun 12, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2163516170 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Dec 3, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2514338241 |
| #6951 | https://github.com/cppcheck-opensource/cppcheck/pull/6951 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
| https://github.com/firewave |
| firewave | https://github.com/firewave |
| Dec 3, 2024 | https://github.com/cppcheck-opensource/cppcheck/pull/6472#event-15508400939 |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F6472 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/6472 |
|
| https://github.com/orbitcowboy |
|
| https://github.com/firewave |
|
| https://github.com/chrchr-github |
|
| https://github.com/danmar |
|
| https://github.com/pfultz2 |
|
| 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 |