You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is false positive, simply if you put there any other number than 0, it wont compile, and in AST this 0 is implicit casted to pointer during construction of __cmp_cat::__unspec.
I'm not sure if this is false positive, simply if you put there any other number than 0, it wont compile, and in AST this 0 is implicit casted to pointer during construction of __cmp_cat::__unspec.
@PiotrZSL while this is technically possible to use nullptr instead of 0, the comparison operator return value result is expected to be compared with 0 (similar to the return value of strcpy, etc) - see e.g. the original proposal.
New option added and configured in a way, so types
related to std::strong_ordering would be ignored.
Fixes: llvm#63478
Reviewed By: ccotter
Differential Revision: https://reviews.llvm.org/D158928
https://gcc.godbolt.org/z/89W17v8j7
The text was updated successfully, but these errors were encountered: