René's URL Explorer Experiment


Title: cleaned up `simplecpp::Macro` construction and assignment by firewave · Pull Request #596 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: cleaned up `simplecpp::Macro` construction and assignment by firewave · Pull Request #596 · cppcheck-opensource/simplecpp

X Title: cleaned up `simplecpp::Macro` construction and assignment by firewave · Pull Request #596 · cppcheck-opensource/simplecpp

Description: C++ preprocessor. Contribute to cppcheck-opensource/simplecpp development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b4ee4193-de8d-5efd-c02f-1df8c7ff8fea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83FC:153317:B39F9D:FBD7D5:6A4E885F
html-safe-nonce08f48a17f3c4348f8b4258251d1194f0baad63bf862d8c38213782b81498235c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0ZDOjE1MzMxNzpCMzlGOUQ6RkJEN0Q1OjZBNEU4ODVGIiwidmlzaXRvcl9pZCI6IjIyMDk5ODYwNjI1NzQzMjM4MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac63cafc6f5102ae0fe748378aca29f59dc8dd094c3b35ba54875de37177004ecb
hovercard-subject-tagpull_request:3071523940
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/596/commits
twitter:imagehttps://opengraph.githubassets.com/e78c054c004553d4be673c390939407514fa95a2eba1edeecfcc8d3a61d16ab6/cppcheck-opensource/simplecpp/pull/596
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e78c054c004553d4be673c390939407514fa95a2eba1edeecfcc8d3a61d16ab6/cppcheck-opensource/simplecpp/pull/596
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefirewave
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F596%2Fcommits
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%2Fsimplecpp%2Fpull%2F596%2Fcommits
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%2Fcommits&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 82 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 31 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
firewavehttps://github.com/firewave
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
firewave:macro-emplacehttps://github.com/firewave/simplecpp/tree/macro-emplace
Conversationhttps://github.com/cppcheck-opensource/simplecpp/pull/596
Commits6 (6)https://github.com/cppcheck-opensource/simplecpp/pull/596/commits
Checkshttps://github.com/cppcheck-opensource/simplecpp/pull/596/checks
Files changedhttps://github.com/cppcheck-opensource/simplecpp/pull/596/files
cleaned up simplecpp::Macro construction and assignmenthttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits#top
firewavehttps://github.com/firewave
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
firewave:macro-emplacehttps://github.com/firewave/simplecpp/tree/macro-emplace
avoid temporary object creations with macro insertions in `simplecpp::preprocess()`https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/9d770560aef97505e20cb26780ca8d3ed1e2ffe9
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
9d77056https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/9d770560aef97505e20cb26780ca8d3ed1e2ffe9
https://github.com/cppcheck-opensource/simplecpp/tree/9d770560aef97505e20cb26780ca8d3ed1e2ffe9
create `Macro` objects in-placehttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits/383e968a89fd84ee32ed72cb3217171c0198305d
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
383e968https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/383e968a89fd84ee32ed72cb3217171c0198305d
https://github.com/cppcheck-opensource/simplecpp/tree/383e968a89fd84ee32ed72cb3217171c0198305d
changed `simplecpp::Macro::tokenListDefine` to a shared pointerhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits/c3479ab986dc348b63cd41cec21d633ebd1acdad
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
c3479abhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits/c3479ab986dc348b63cd41cec21d633ebd1acdad
https://github.com/cppcheck-opensource/simplecpp/tree/c3479ab986dc348b63cd41cec21d633ebd1acdad
avoid redundant initialization of `simplecpp::Macro::nameTokDef`https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/82eff4f31d4159737bde706bd2887d8b9ca8aa96
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
82eff4fhttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits/82eff4f31d4159737bde706bd2887d8b9ca8aa96
https://github.com/cppcheck-opensource/simplecpp/tree/82eff4f31d4159737bde706bd2887d8b9ca8aa96
avoid duplicated assignment of `simplecpp::Macro::tokenListDefine`https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/492fe294d9cccf51336eb167a46e7769c9b90ce9
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
492fe29https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/492fe294d9cccf51336eb167a46e7769c9b90ce9
https://github.com/cppcheck-opensource/simplecpp/tree/492fe294d9cccf51336eb167a46e7769c9b90ce9
removed unnecessary creation of `simplecpp::Macro::tokenListDefine`https://github.com/cppcheck-opensource/simplecpp/pull/596/commits/90037ae80d18fa8eccc04ee4679d0f72f22d0934
https://github.com/firewave
firewavehttps://github.com/cppcheck-opensource/simplecpp/commits?author=firewave
90037aehttps://github.com/cppcheck-opensource/simplecpp/pull/596/commits/90037ae80d18fa8eccc04ee4679d0f72f22d0934
https://github.com/cppcheck-opensource/simplecpp/tree/90037ae80d18fa8eccc04ee4679d0f72f22d0934
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.