Skip to content

RULE-6-1: Permit bitfields of other integer types, depending on the compiler #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lcartey opened this issue Jun 28, 2023 · 1 comment · Fixed by #564
Closed

RULE-6-1: Permit bitfields of other integer types, depending on the compiler #318

lcartey opened this issue Jun 28, 2023 · 1 comment · Fixed by #564
Assignees
Labels
Difficulty-Medium A false positive or false negative report which is expected to take 1-5 days effort to address false positive/false negative An issue related to observed false positives or false negatives. Impact-Medium Phase II user-report Issue reported by an end user of CodeQL Coding Standards

Comments

@lcartey
Copy link
Collaborator

lcartey commented Jun 28, 2023

Affected rules

  • RULE-6-1

Description

Support for the use of bitfields on integer types outside of unsigned int and signed int depends on the implementation.

@lcartey lcartey added false positive/false negative An issue related to observed false positives or false negatives. Difficulty-Medium A false positive or false negative report which is expected to take 1-5 days effort to address Impact-Medium labels Jun 28, 2023
@ravikprasad ravikprasad added the user-report Issue reported by an end user of CodeQL Coding Standards label Feb 20, 2024
@rvermeulen
Copy link
Collaborator

rvermeulen commented Mar 26, 2024

Based on https://godbolt.org/z/Yfha6Gfhd we can assume compatibility between Gcc and Clang for the versions we support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty-Medium A false positive or false negative report which is expected to take 1-5 days effort to address false positive/false negative An issue related to observed false positives or false negatives. Impact-Medium Phase II user-report Issue reported by an end user of CodeQL Coding Standards
Projects
Development

Successfully merging a pull request may close this issue.

3 participants