tra added a comment.

In D102936#2774686 <https://reviews.llvm.org/D102936#2774686>, @jwakely wrote:

> You can't use `__GLIBCXX__` this way. It will be different for different 
> snapshots from the gcc-11 branch. Some distros are already shipping gcc-11 
> snapshots with later dates.
>
> I would just check RELEASE == 11. If `__failed_assertion` is present, you'll 
> rename it. If it's not present, nothing gets renamed but it works anyway.

Good point. I've updated the patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102936/new/

https://reviews.llvm.org/D102936

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

Reply via email to