glandium wrote:

This had the side effect of adding implicit-int-conversion warnings on e.g. the 
following code:
```
unsigned char foo(unsigned char x)
{
    return ~x;
}
```
This seems correct, but this should probably be highlighted in the release 
notes.

Another example is:
```
unsigned int foo(unsigned char x)
{
    return ~(1<<x);
}
```

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

Reply via email to