jwakely wrote:

> Also, @jwakely it would be nice if this worked with libstdc++ as well in the 
> future -- it would probably turn on checks like `__GLIBCXX_ASSERT__`.

That should be `_GLIBCXX_ASSERTIONS`

No other thoughts for now. GCC has `-fhardened` now, which already defines that 
macro. This seems kinda redundant with it.


https://github.com/llvm/llvm-project/pull/78763
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to