René's URL Explorer Experiment


Title: Better handle const/noexcept methods by KenPatrickLehrmann · Pull Request #2211 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Better handle const/noexcept methods by KenPatrickLehrmann · Pull Request #2211 · cppcheck-opensource/cppcheck

X Title: Better handle const/noexcept methods by KenPatrickLehrmann · Pull Request #2211 · cppcheck-opensource/cppcheck

Description: Better handle const/noexcept methods Fix parsing of some operator It is still very broken, but at least, it does not fail. Here is the previous error: TestSimplifyTypedef::simplifyTypedef129 terminate called after throwing an instance of 'InternalError' Program received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff612a801 in __GI_abort () at abort.c:79 #2 0x00007ffff6b1d957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007ffff6b23ab6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff6b23af1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff6b23d24 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x0000555556366bf8 in Tokenizer::cppcheckError (this=0x7fffffffc2d0, tok=0x607000006760) at ../lib/tokenize.cpp:8721 #7 0x000055555636a4bb in Tokenizer::validate (this=0x7fffffffc2d0) at ../lib/tokenize.cpp:9154 #8 0x000055555633e3aa in Tokenizer::simplifyTokenList1 (this=0x7fffffffc2d0, FileName=0x603000002d50 "test.cpp") at ../lib/tokenize.cpp:4477 #9 0x00005555563223ca in Tokenizer::simplifyTokens1 (this=0x7fffffffc2d0, configuration="") at ../lib/tokenize.cpp:2286 #10 0x00005555563235c8 in Tokenizer::tokenize (this=0x7fffffffc2d0, code=..., FileName=0x555556fda9a0 "test.cpp", configuration="") at ../lib/tokenize.cpp:2345 #11 0x00005555569410ea in TestSimplifyTypedef::tok[abi:cxx11](char const*, bool, cppcheck::Platform::PlatformType, bool) (this=0x555557728580 <(anonymous namespace)::instance_TestSimplifyTypedef>, code=0x7fffffffcb70 "class c {\n typedef char foo[4];\n foo _a;\n constexpr operator foo &() const noexcept { return _a; }\n};", simplify=false, type=cppcheck::Platform::Native, debugwarnings=true) at ../test/testsimplifytypedef.cpp:192 #12 0x000055555697239e in TestSimplifyTypedef::simplifyTypedef129 (this=0x555557728580 <(anonymous namespace)::instance_TestSimplifyTypedef>) at ../test/testsimplifytypedef.cpp:2599 #13 0x000055555694092c in TestSimplifyTypedef::run (this=0x555557728580 <(anonymous namespace)::instance_TestSimplifyTypedef>) at ../test/testsimplifytypedef.cpp:167 #14 0x00005555569cab84 in TestFixture::run (this=0x555557728580 <(anonymous namespace)::instance_TestSimplifyTypedef>, str="simplifyTypedef129") at ../test/testsuite.cpp:306 #15 0x00005555569cb445 in TestFixture::runTests (args=...) at ../test/testsuite.cpp:329 #16 0x000055555687bdfb in main (argc=2, argv=0x7fffffffd988) at ../test/testrunner.cpp:44

Open Graph Description: Better handle const/noexcept methods Fix parsing of some operator It is still very broken, but at least, it does not fail. Here is the previous error: TestSimplifyTypedef::simplifyTypedef129 term...

X Description: Better handle const/noexcept methods Fix parsing of some operator It is still very broken, but at least, it does not fail. Here is the previous error: TestSimplifyTypedef::simplifyTypedef129 term...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/2211

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:89b8a587-8ac4-a932-541f-cd512047e837
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA32:3E375C:11B2008:1811D6D:6A507D6E
html-safe-nonce8b07ac7a4ee85ebdf49e06802a757fe579b863fd2bbed5a67852a5c4ebf4cee5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTMyOjNFMzc1QzoxMUIyMDA4OjE4MTFENkQ6NkE1MDdENkUiLCJ2aXNpdG9yX2lkIjoiNTY5MTIyMTcxMTAxNjc0ODYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb0e56b63977d9711d926a92b50334505dcce74f00b2903dd6a1776781012d3b2
hovercard-subject-tagpull_request:320745464
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/2211/files
twitter:imagehttps://avatars.githubusercontent.com/u/54900810?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/54900810?s=400&v=4
og:image:altBetter handle const/noexcept methods Fix parsing of some operator It is still very broken, but at least, it does not fail. Here is the previous error: TestSimplifyTypedef::simplifyTypedef129 term...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F2211%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F2211%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
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://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 203 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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/cppcheck/tree/master
KenPatrickLehrmann:noexcept_arrayhttps://github.com/KenPatrickLehrmann/cppcheck/tree/noexcept_array
Conversation 7 https://github.com/cppcheck-opensource/cppcheck/pull/2211
Commits 5 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits
Checks 0 https://github.com/cppcheck-opensource/cppcheck/pull/2211/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Better handle const/noexcept methods https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#top
Show all changes 5 commits https://github.com/cppcheck-opensource/cppcheck/pull/2211/files
b33e0e3 Better handle const/noexcept methods/conversion operator KenPatrickLehrmann Aug 5, 2019 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits/b33e0e3d27ecbf63f5e8ebb4aa969784add2d0fe
5613abc Fix parsing of some operator KenPatrickLehrmann Aug 5, 2019 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits/5613abc071e335acbb55fe9267c8389f997e7b90
b6222ec Replace some ASSERT_EQUALS with TODO_ASSERT_EQUALS when the actual re… KenPatrickLehrmann Sep 10, 2019 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits/b6222ece0be6d88a79b4abebefda496ed9191b3d
8dd8a91 Remove invalid code from simplifyTypedef129 KenPatrickLehrmann Oct 11, 2019 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits/8dd8a91e9157482128d0db06d4d40bb40569da11
e7f0e9b Properly skip parentheses KenPatrickLehrmann Oct 11, 2019 https://github.com/cppcheck-opensource/cppcheck/pull/2211/commits/e7f0e9b0d10532645a73ecdad5019e3cd4974ff8
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
tokenize.cpp https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-fcb971a19e78bfceedcd084be65f15acea40d252d16613a29cad4b8814f00bdf
testsimplifytypedef.cpp https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
lib/tokenize.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-fcb971a19e78bfceedcd084be65f15acea40d252d16613a29cad4b8814f00bdf
View file https://github.com/KenPatrickLehrmann/cppcheck/blob/e7f0e9b0d10532645a73ecdad5019e3cd4974ff8/lib/tokenize.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/2211/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-fcb971a19e78bfceedcd084be65f15acea40d252d16613a29cad4b8814f00bdf
danmarhttps://github.com/danmar
Oct 12, 2019https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#r334229971
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-fcb971a19e78bfceedcd084be65f15acea40d252d16613a29cad4b8814f00bdf
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-fcb971a19e78bfceedcd084be65f15acea40d252d16613a29cad4b8814f00bdf
test/testsimplifytypedef.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
View file https://github.com/KenPatrickLehrmann/cppcheck/blob/e7f0e9b0d10532645a73ecdad5019e3cd4974ff8/test/testsimplifytypedef.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/2211/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
danmarhttps://github.com/danmar
Oct 10, 2019https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#r333647434
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
KenPatrickLehrmannhttps://github.com/KenPatrickLehrmann
Oct 11, 2019https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#r333868477
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
danmarhttps://github.com/danmar
Oct 12, 2019https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#r334223941
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2211/files
https://github.com/cppcheck-opensource/cppcheck/pull/2211/files#diff-d8e4dae70a3555f3efbd332b6f94a77694ba8698a94feb26c5aae75399087415
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.