| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0db1280d-63f5-3ad8-6dde-001dede4de3b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9132:3A1626:5E22D7:7DF61A:6A51CE8B |
| html-safe-nonce | 0299cd5703d11f66517a3ddfe455ff9f8af78a9cbaa7d5e2eb561d48506298b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTMyOjNBMTYyNjo1RTIyRDc6N0RGNjFBOjZBNTFDRThCIiwidmlzaXRvcl9pZCI6IjIyNzk3MzI4NDM5NDgxMzQwMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a21aefe321312840de77c21d3880f867305b80a3eb87e82d9f248e91f1ef99f |
| hovercard-subject-tag | pull_request:873045906 |
| 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/simplecpp/pull/244/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 | Reading the file via std::istream includes a considerable overhead caused by std::istream::sentry and others. Using C I/O instead reduces the "total Ir" usage by about 10%.
Testing with -... |
| 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/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/cppcheck-opensource/simplecpp/pull/244/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F244%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/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%2Fsimplecpp%2Fpull%2F244%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%2Fsimplecpp |
| Reload | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Reload | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Reload | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
|
cppcheck-opensource
| https://github.com/cppcheck-opensource |
| simplecpp | https://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
30
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fsimplecpp%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%2Fsimplecpp%2Fissues%2Fnew%2Fchoose |
| danmar | https://github.com/danmar |
| cppcheck-opensource:master | https://github.com/cppcheck-opensource/simplecpp/tree/master |
| firewave:stream | https://github.com/firewave/simplecpp/tree/stream |
|
Conversation
6
| https://github.com/cppcheck-opensource/simplecpp/pull/244 |
|
Commits
21
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits |
|
Checks
0
| https://github.com/cppcheck-opensource/simplecpp/pull/244/checks |
|
Files changed
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
|
added TokenList::Stream class to wrap std::istream usage and implemented alternative C I/O version
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#top |
|
Show all changes
21 commits
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
|
097a765
added wrapper class "Stream" to TokenList
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/097a7658473912c062e3836813dbb29f4d541a0f |
|
c2ae449
moved some helper function into TokenList::Stream
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/c2ae44915d81595152207b7812eb035bb30914f2 |
|
62acc58
simplified UTF-16 checks
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/62acc5826dc822345898100ebc4df504c6acc844 |
|
a2cc676
made simplecpp::TokenList::Stream an abstract class and moved impleme…
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/a2cc676ccbe2fafaafb9baffa06c0086f177351e |
|
07ec136
added simplecpp::TokenList::Stream implementation "FileStream" which …
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/07ec136dc71d89bfd4d363bab2daf133bcf43396 |
|
81fe8cd
use FileStream for includes as well
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/81fe8cdcac58bd1d9b032651b45cf7192ef31684 |
|
4f0da78
constness
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/4f0da7842a3f5b3de1a90c1ebf251b674ccc634c |
|
1b52b22
made some TokenList::Stream members private
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/1b52b2211ff058a74174e0a53facedb0d464d9d2 |
|
95c747b
pulled out repeated UTF-16 character generation code
firewave Mar 5, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/95c747b6a99dde5e17056b13d6ab265451b598c3 |
|
892183e
main.cpp: added command-option "-is" to specify usage of std::istream…
firewave Mar 9, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/892183ecbdf32ae2be55d2032905c5ab9e757c9b |
|
26ccd24
test.cpp: got rid of another `std::istringstream` usage
firewave Apr 14, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/26ccd246db7cec3335d416987d1d89f124cc191e |
|
e57f312
fixed FileStream::unget() with subsequent calls (i.e. UTF-16 encoding)
firewave Apr 19, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/e57f3128db5ee20551b8ac8b7445845b371d7d15 |
|
bdc7f3c
simplified newline handling in TokenList::Stream::readChar()
firewave Apr 19, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/bdc7f3c34521364eb61f469c7e3a5e29d3bb02a7 |
|
76b94e3
fixed handling of incomplete UTF-8 BOM 0xefbbbf
firewave Apr 19, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/76b94e3ba988688be06eea9fe5cd641260044959 |
|
cd084ae
test.cpp: added tests for incomplete UTF sequences
firewave Apr 19, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/cd084aeecdd9dcdf0de43473b404dd475edace8e |
|
797f899
keep lastCh intact when using FileStream::peek()
firewave Apr 20, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/797f899da9141b3fb46b79a1e075902927be10b3 |
|
c1da435
fixed uninitialized members in `FileStream`
firewave Oct 6, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/c1da435de1410e1210770642b6b084ad59a14b10 |
|
52b4b61
.clang-tidy: disabled `modernize-use-override` warning
firewave Oct 6, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/52b4b61a8fddc249382c81d30aa771955fe4dcd3 |
|
7ff8c98
fixed `readability-inconsistent-declaration-parameter-name` clean-tid…
firewave Oct 6, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/7ff8c9899c203b7ddd48f34cbaf7c914138f28fa |
|
c9605fe
fixed `-Wshadow` Clang compiler warning
firewave Oct 6, 2022
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/c9605feec619bc1aa560e73d1d4a858cdc794062 |
|
557099c
adjusted parameter order in added `TokenList()` constructor / added s…
firewave Feb 25, 2023
| https://github.com/cppcheck-opensource/simplecpp/pull/244/commits/557099c46446fa20eff89ecd619ceec26772ee02 |
|
Clear filters
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/244/files |
|
.clang-tidy
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-0534891fbc8b89b4c521057e7e8dff70d3cbeb822cc9991a3abad77848c289f8 |
|
CMakeLists.txt
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a |
|
main.cpp
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
simplecpp.cpp
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
simplecpp.h
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-8feef6892144dbe750ffc83a1525c796968b56cd4d6500fe8bf22bac61cf9174 |
|
test.cpp
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf |
| .clang-tidy | https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-0534891fbc8b89b4c521057e7e8dff70d3cbeb822cc9991a3abad77848c289f8 |
|
View file
| https://github.com/firewave/simplecpp/blob/557099c46446fa20eff89ecd619ceec26772ee02/.clang-tidy |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/244/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-0534891fbc8b89b4c521057e7e8dff70d3cbeb822cc9991a3abad77848c289f8 |
| CMakeLists.txt | https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a |
|
View file
| https://github.com/firewave/simplecpp/blob/557099c46446fa20eff89ecd619ceec26772ee02/CMakeLists.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/244/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a |
| main.cpp | https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
View file
| https://github.com/firewave/simplecpp/blob/557099c46446fa20eff89ecd619ceec26772ee02/main.cpp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/244/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/244/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/244/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 |