sberg added a comment.
Is it intentional that this warns about volatile variables as in
void f(char * p) {
volatile char c = 0;
c ^= *p;
}
(I see that GCC warns about volatile too, at least when you replace the `^=`
with `=`, so assume the answer is "yes", but would just like to see that
confirmed (ideally with a test case even?).)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100581/new/
https://reviews.llvm.org/D100581
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits