Query module AmbiguouslySignedBitField
- Ambiguously signed bit-field member
- Bit fields with integral types should have explicit signedness
only. For example, use
unsigned intrather than
int. It is implementation specific whether an
int-typed bit field is signed, so there could be unexpected sign extension or overflow.
- reliability readability language-features external/cwe/cwe-190
Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.