Title: `M8-0-1`: Exclude compiler generated statements for range based for loops · Issue #309 · github/codeql-coding-standards · GitHub
Open Graph Title: `M8-0-1`: Exclude compiler generated statements for range based for loops · Issue #309 · github/codeql-coding-standards
X Title: `M8-0-1`: Exclude compiler generated statements for range based for loops · Issue #309 · github/codeql-coding-standards
Description: Affected rules M8-0-1 A7-1-5 Description The range based for loop is implemented in our database schema with reference to compiler generated AST elements, introducing compiler variables such as __range, __begin and __end. These compiler ...
Open Graph Description: Affected rules M8-0-1 A7-1-5 Description The range based for loop is implemented in our database schema with reference to compiler generated AST elements, introducing compiler variables such as __r...
X Description: Affected rules M8-0-1 A7-1-5 Description The range based for loop is implemented in our database schema with reference to compiler generated AST elements, introducing compiler variables such as __r...
Opengraph URL: https://github.com/github/codeql-coding-standards/issues/309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`M8-0-1`: Exclude compiler generated statements for range based for loops","articleBody":"### Affected rules\r\n - `M8-0-1`\r\n - `A7-1-5`\r\n\r\n### Description\r\n\r\nThe range based for loop is implemented in our database schema with reference to compiler generated AST elements, introducing compiler variables such as `__range`, `__begin` and `__end`. These compiler generated variables are flagged as contravening a number of the C++ rules, but should be excluded.\r\n\r\n### Example\r\n```cpp\r\nfor (const auto r : foo)\r\n```\r\n","author":{"url":"https://github.com/lcartey","@type":"Person","name":"lcartey"},"datePublished":"2023-05-19T10:36:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/309/codeql-coding-standards/issues/309"}
| 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:369bb54d-d498-a30c-f3d7-4daa99b65365 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E356:266203:54C47B:74D268:6A63A1E7 |
| html-safe-nonce | 8ec13751cb2196650b433ea078d23cdd94463546ef6a31d4b89a7cd0f1e9e206 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzU2OjI2NjIwMzo1NEM0N0I6NzREMjY4OjZBNjNBMUU3IiwidmlzaXRvcl9pZCI6Ijg5NTA4Nzk0NTc3NDc2NDA4MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c161c140adbe5126d9b4b39506a902fcefe238e76082559174a8d86c1340caf7 |
| hovercard-subject-tag | issue:1717028548 |
| 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/github/codeql-coding-standards/309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d1dfc9deaa9cf67e6f24d9c8bf02941320e11aca6a70dc8f360bbed10564e9e/github/codeql-coding-standards/issues/309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d1dfc9deaa9cf67e6f24d9c8bf02941320e11aca6a70dc8f360bbed10564e9e/github/codeql-coding-standards/issues/309 |
| og:image:alt | Affected rules M8-0-1 A7-1-5 Description The range based for loop is implemented in our database schema with reference to compiler generated AST elements, introducing compiler variables such as __r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lcartey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-coding-standards git https://github.com/github/codeql-coding-standards.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 513154248 |
| octolytics-dimension-repository_nwo | github/codeql-coding-standards |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 513154248 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-coding-standards |
| 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 | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width