huixie90 wrote:

> `NULL` is not `nullptr`. (In C, it's a `void*`.) The difference often isn't 
> really relevant, but it's important to test when you're dealing with code 
> that's actually checking the type of the operand.
> 
> Also maybe worth testing _Atomic(nullptr_t), although it's probably fine if 
> we reject that.

Thanks added C++ tests now

https://github.com/llvm/llvm-project/pull/182699
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to