Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
The early history of this code didn't tend to make parameters const, but the
"const density" is high enough now that I often find myself wondering if
something is mutable for some reason, or just old and sloppier. So, eliminate
this confusion by making (hopefully) all function parameters const if possible.
|
|
|
|
|
|
|
|
Clang 15 (and still as of 16) lost the ability to understand null checks in
conditionals, which is supposed to suppress these warnings. For now, work
around some, and suppress others.
The suppression boilerplate here is noisy and ugly, and hopefully temporary.
It should be removed once the issue is fixed in clang.
See https://github.com/llvm/llvm-project/issues/63018
|
|
This is... strange, and slightly worrying, although it's already known that
this conversion code isn't exact in all cases. The next major version will fix
that (and I've confirmed that these issues aren't present there), but that's a
major change so, for now, just reduce the very large number in the test case
slightly so that it passes on these chips as well.
|
|
|
|
|
|
|
|
|
|
|
|
|