ruiu added a comment.

Perhaps, this is a bit more straightforward.

  if (int X = A.compare_lower(B))
    return X < 0;
  return A.compare(B) < 0;


https://reviews.llvm.org/D40234



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to