https://github.com/5chmidti requested changes to this pull request.

The check will currently not flag the use of literals like so:

```c++
void foo(unsigned short *uArray){
    uArray[0] <= 10;
}
```
https://godbolt.org/z/a6W9xGcMY

because they do not contain an implicit cast. Only one of the two operands 
needs to have an implicit cast to the other operands type for the comparison to 
be a potential issue.


https://github.com/llvm/llvm-project/pull/113144
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to