PiotrZSL wrote: > explicit bit usage will not case false positive without this patch. Should we > consider case of operator overloading?
Yes, thats a side effect due to implicit casting enums to integers. I added tests because those were missing, then I implemented version with cxxOverloadCallExpr and changed it into more generic version by using binaryOperation. If you want, then yes, I can reduce this back to overload operators calls only. https://github.com/llvm/llvm-project/pull/65498 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits