Title: reduced `Tokenizer::isCPP()` usage / SymbolDatabase: removed `mIsCpp` and `isCPP()` by firewave · Pull Request #5725 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: reduced `Tokenizer::isCPP()` usage / SymbolDatabase: removed `mIsCpp` and `isCPP()` by firewave · Pull Request #5725 · cppcheck-opensource/cppcheck
X Title: reduced `Tokenizer::isCPP()` usage / SymbolDatabase: removed `mIsCpp` and `isCPP()` by firewave · Pull Request #5725 · cppcheck-opensource/cppcheck
Description: Each Token (should) be connected to a TokenList. Tokenizer just encapsulates that so we have no need to check the Tokenizer but can simply ask the Token. Also if we have function calls we pass in a flag to tell it if it is C/C++ we can get rid of that flag and simply ask the Token. In several cases we were only passing that flag to be used in some underlying calls making it completely unnecessary in the top call.
Open Graph Description: Each Token (should) be connected to a TokenList. Tokenizer just encapsulates that so we have no need to check the Tokenizer but can simply ask the Token. Also if we have function calls we pass in a...
X Description: Each Token (should) be connected to a TokenList. Tokenizer just encapsulates that so we have no need to check the Tokenizer but can simply ask the Token. Also if we have function calls we pass in a...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/5725
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d26b0f9d-e768-9b67-05c0-93ce7c24b7a7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B592:8E3D:131351E:1924C5F:6A52A6C5 |
| html-safe-nonce | 19c6d93814dc3913407bc960c31f9234d4ac0e7d3ceab71eb4a9285a68a4ddbd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTkyOjhFM0Q6MTMxMzUxRToxOTI0QzVGOjZBNTJBNkM1IiwidmlzaXRvcl9pZCI6IjU2OTQzNDUyMTQyMjQ5MzQ1OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8674ae1e353473437bdd4da4ea84d120fc132264bd260aa6b8903219735da986 |
| hovercard-subject-tag | pull_request:1628851299 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/5725/files |
| twitter:image | https://avatars.githubusercontent.com/u/242857?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/242857?s=400&v=4 |
| og:image:alt | Each Token (should) be connected to a TokenList. Tokenizer just encapsulates that so we have no need to check the Tokenizer but can simply ask the Token. Also if we have function calls we pass in a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width