| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:625ab0c6-5cb1-6e46-5ebd-1fb0e18a47f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8B4:1ED8:4E0DEBD:6E87A7A:6A4FEDDA |
| html-safe-nonce | 3ad3666a4dcff15750848f59285877b2cd07c310d262b8a09341abc4ac67dfd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEI0OjFFRDg6NEUwREVCRDo2RTg3QTdBOjZBNEZFRERBIiwidmlzaXRvcl9pZCI6IjUyNTU3MTcxNTY1MjAxOTM0OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a2ae1629b80ebd049e9a9a569de605a70693e7f55fbb802cb11656b21be51f7 |
| hovercard-subject-tag | pull_request:2005624023 |
| 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/362/files |
| twitter:image | https://avatars.githubusercontent.com/u/1467072?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1467072?s=400&v=4 |
| og:image:alt | Fixes #402
This fix an issue of importing the same header by different addresses.
The issue is trickier than seems, because if a user used the include dir flag -I... with an absolute path, then eve... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | f7e270be010aa4de2871991025fbb97f3afe2bcb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F362%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%2F362%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/362/files |
| Reload | https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
| Reload | https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/362/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
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 |
| 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 |
|
Conversation
27
| https://github.com/cppcheck-opensource/simplecpp/pull/362 |
|
Commits
16
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits |
|
Checks
0
| https://github.com/cppcheck-opensource/simplecpp/pull/362/checks |
|
Files changed
6
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
|
fix: use both absolute and relative header paths in header matching
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#top |
|
Show all changes
16 commits
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
|
907c443
fix: always use absolute (and simplified) header path whenever possible
Tal500 Aug 6, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/907c44354a9bcf2509bc073ec30d8fd84e0b7026 |
|
4e02592
Merge branch 'master' into absolute-path-header
Tal500 Nov 14, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/4e0259229fbab1c14f51bc6dfe1fb113eaaac081 |
|
17d74df
respect relative paths, but check both absolute and relative path id …
Nov 14, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/17d74dff831aa4046b2af581398bf55f6c567666 |
|
f156111
simplify path usage functions to be just strings
Nov 17, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/f156111b9ce350ff15124a6b999bb8e945932297 |
|
28cdb8a
tidy fix
Nov 17, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/28cdb8aa3341b8f6bcab35a20cef7db9013f4162 |
|
2893b68
add integration tests
Dec 10, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/2893b68b9420d3c4b137e3a484ddd3976ce4649d |
|
196a498
run integraion tests on CI-unixish.yml
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/196a498f2b4d7b2e175287417519ccaa9b636c24 |
|
52c77b9
Use `pip --user` to avoid macos14 permission issues in CI-unixish.yml
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/52c77b9a824a17425a53e68f3dc8baba63cc1ec8 |
|
ef7837a
Move the flag `--user` in the pip install row CI-unixish.yml
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/ef7837a5be7be0053dd89929180224ab38dfbe7b |
|
c2e9b67
Try the flag `--break-system-packages` instead of `--user` in CI-unix…
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c2e9b673ecdda0a29babc68b428a5f03c77340bb |
|
26ee4d9
Set in a more poratable way break-system-packages to be true CI-unixi…
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/26ee4d926d10cce64699ab0decc0500bccd07dfb |
|
3b6fc9c
Pytest for Windows in CI-windows.yml
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/3b6fc9cf9dff670e4041ee90bda2fb023b9eff08 |
|
9db5d60
Update testutils.py: allow custom SIMPLECPP_EXE_PATH for integration …
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/9db5d609388b3e9d2f895974805f59025bd1f06a |
|
47853fb
Update CI-windows.yml: pass SIMPLECPP_EXE_PATH env var
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/47853fb4cc65d14082ce0950d149e475cdb0be92 |
|
c026219
Update CI-windows.yml: fix the set command
Tal500 Dec 15, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c0262191d560e50f4f369a459ece5aadf6072a13 |
|
a402c79
use parametrized tests and improve coverage in integration_test.py
Tal500 Dec 22, 2024
| https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/a402c7918b316a54a7a51f2ed694d26d57f5bc0c |
|
Clear filters
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/362/files |
|
CI-unixish.yml
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3 |
|
CI-windows.yml
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-54a992e31a7ae1c9770d26d40fe1acefa851e7faaf8f127f13ca67d3b8cfad4f |
|
.gitignore
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
integration_test.py
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d |
|
simplecpp.cpp
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
testutils.py
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-57a4fbee623b5d3954ca60356bbf656f2a8260dea5eb38b93c3c51e179729d7f |
| .github/workflows/CI-unixish.yml | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3 |
|
View file
| https://github.com/cppcheck-opensource/simplecpp/blob/a402c7918b316a54a7a51f2ed694d26d57f5bc0c/.github/workflows/CI-unixish.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/362/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3 |
| .github/workflows/CI-windows.yml | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-54a992e31a7ae1c9770d26d40fe1acefa851e7faaf8f127f13ca67d3b8cfad4f |
|
View file
| https://github.com/cppcheck-opensource/simplecpp/blob/a402c7918b316a54a7a51f2ed694d26d57f5bc0c/.github/workflows/CI-windows.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/362/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-54a992e31a7ae1c9770d26d40fe1acefa851e7faaf8f127f13ca67d3b8cfad4f |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-54a992e31a7ae1c9770d26d40fe1acefa851e7faaf8f127f13ca67d3b8cfad4f |
| .gitignore | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
View file
| https://github.com/cppcheck-opensource/simplecpp/blob/a402c7918b316a54a7a51f2ed694d26d57f5bc0c/.gitignore |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/362/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
| integration_test.py | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d |
|
View file
| https://github.com/cppcheck-opensource/simplecpp/blob/a402c7918b316a54a7a51f2ed694d26d57f5bc0c/integration_test.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/362/{{ revealButtonHref }} |
| simplecpp.cpp | https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
View file
| https://github.com/cppcheck-opensource/simplecpp/blob/a402c7918b316a54a7a51f2ed694d26d57f5bc0c/simplecpp.cpp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/simplecpp/pull/362/{{ revealButtonHref }} |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
|
| https://github.com/cppcheck-opensource/simplecpp/pull/362/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832 |
| Please reload this page | https://github.com/cppcheck-opensource/simplecpp/pull/362/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 |