C++: Remove superfluous 'and any()'

This commit is contained in:
Anders Fugmann
2021-08-24 09:37:39 +02:00
parent c04ba7b724
commit 6d4b7c828c

View File

@@ -23,6 +23,5 @@ where
fi.getNumBits() > fct.getSize() * 8 and
va.getExplicitlyConverted().getType().getSize() > fct.getSize() and
va.getTarget() = fi and
not fct.getUnspecifiedType() instanceof BoolType and
any()
not fct.getUnspecifiedType() instanceof BoolType
select va, "Implicit downcast of bitfield $@", fi, fi.toString()