Title: `combineOperators()`: `&=` gets split up incorrectly · Issue #657 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: `combineOperators()`: `&=` gets split up incorrectly · Issue #657 · cppcheck-opensource/simplecpp
X Title: `combineOperators()`: `&=` gets split up incorrectly · Issue #657 · cppcheck-opensource/simplecpp
Description: int* f(int i) { return new int(i &= 1); } int * f ( int i ) { return new int ( i & = 1 ) ; } Downstream: https://trac.cppcheck.net/ticket/14797
Open Graph Description: int* f(int i) { return new int(i &= 1); } int * f ( int i ) { return new int ( i & = 1 ) ; } Downstream: https://trac.cppcheck.net/ticket/14797
X Description: int* f(int i) { return new int(i &= 1); } int * f ( int i ) { return new int ( i & = 1 ) ; } Downstream: https://trac.cppcheck.net/ticket/14797
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/657
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`combineOperators()`: `\u0026=` gets split up incorrectly","articleBody":"```c++\nint* f(int i) {\n return new int(i \u0026= 1);\n}\n```\n```\nint * f ( int i ) {\nreturn new int ( i \u0026 = 1 ) ;\n}\n```\nDownstream: https://trac.cppcheck.net/ticket/14797","author":{"url":"https://github.com/chrchr-github","@type":"Person","name":"chrchr-github"},"datePublished":"2026-05-29T08:15:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/657/simplecpp/issues/657"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f46e1f29-8f1f-12d8-74ee-20e769c3500b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB12:105A4A:1F2031C:2AA00D4:6A4EBEFE |
| html-safe-nonce | 51d1e8932ccbf261586c5258c8b140dd32e810ed43d3015363460cb11c8a6251 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjEyOjEwNUE0QToxRjIwMzFDOjJBQTAwRDQ6NkE0RUJFRkUiLCJ2aXNpdG9yX2lkIjoiODI3Njk0MTA5ODM1NTQ0MTQwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d158e891d16a8483d97bc30d692ee21cadcfd432ee29849dfe971a90eb64a0f6 |
| hovercard-subject-tag | issue:4546874341 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/cppcheck-opensource/simplecpp/657/issue_layout |
| twitter:image | https://opengraph.githubassets.com/21cd7d731767a819f9bb8349efb4f3201d94eb978f9528c8f8b37ff1274fbf7e/cppcheck-opensource/simplecpp/issues/657 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/21cd7d731767a819f9bb8349efb4f3201d94eb978f9528c8f8b37ff1274fbf7e/cppcheck-opensource/simplecpp/issues/657 |
| og:image:alt | int* f(int i) { return new int(i &= 1); } int * f ( int i ) { return new int ( i & = 1 ) ; } Downstream: https://trac.cppcheck.net/ticket/14797 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrchr-github |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width