We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 202fb66 commit 47a6600Copy full SHA for 47a6600
cpp/common/src/codingstandards/cpp/IntegerConstantMacro.qll
@@ -15,7 +15,7 @@ class IntegerConstantMacro extends Macro {
15
signed = false and size = getName().regexpCapture("UINT(8|16|32|64)_C", 1).toInt()
16
}
17
18
- predicate isSmall() { size < any(IntType it | it.isSigned()).getSize() }
+ predicate isSmall() { size < any(IntType it | it.isSigned()).getSize() * 8 }
19
20
int getSize() { result = size }
21
0 commit comments