================ @@ -194,6 +194,10 @@ class LocationSize { return hasValue() && getValue() == Other; } + bool operator<=(const LocationSize &Other) const { + return Value <= Other.Value; ---------------- nikic wrote:
LocationSize has a whole bunch of special values and bits that make this incorrect. You need to work on getValue() for the cases where it is valid. https://github.com/llvm/llvm-project/pull/120783 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits