RKSimon wrote: We have char signedness test coverage (as some people have to build with `-fno-signed-char`) - so APSInt will treat some cases as uchar and its isNegative() override won't return true then. APInt methods leaves you to handle signedness manually so its method will always work.
I recommend you take a look at the APSInt.h and APInt.h files to get a better understanding of whats going on as APSInt/APInt interaction can cause surprises! https://github.com/llvm/llvm-project/pull/163685 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
