File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/src/semmle/code/cpp/commons Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,28 +64,28 @@ class Ptrdiff_t extends Type {
64
64
}
65
65
66
66
/**
67
- * A common base type for describing the C/C++ fixed-width numeric types
67
+ * A C/C++ fixed-width numeric type, such as `int8_t`.
68
68
*/
69
69
abstract class FixedWidthIntegralType extends UserType {
70
70
FixedWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
71
71
}
72
72
73
73
/**
74
- * A common base type for describing the C/C++ minimum-width numeric types .
74
+ * A C/C++ minimum-width numeric type, such as `int_least8_t` or `uint_fast16_t` .
75
75
*/
76
76
abstract class MinimumWidthIntegralType extends UserType {
77
77
MinimumWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
78
78
}
79
79
80
80
/**
81
- * A common base type for describing the C/C++ maximum-width numeric types .
81
+ * A C/C++ maximum-width numeric type, either `intmax_t` or `uintmax_t` .
82
82
*/
83
83
abstract class MaximumWidthIntegralType extends UserType {
84
84
MaximumWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
85
85
}
86
86
87
87
/**
88
- * A common base type for describing enum types that are based on fixed-width types.
88
+ * An enum type based on a fixed-width integer type. For instance, ` enum e: uint8_t = { a, b };`
89
89
*/
90
90
class FixedWidthEnumType extends UserType {
91
91
FixedWidthEnumType ( ) { this .( Enum ) .getExplicitUnderlyingType ( ) instanceof FixedWidthIntegralType }
You can’t perform that action at this time.
0 commit comments