mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 22:02:51 +01:00
LLVM 17 replaces ENABLE_ASSERTIONS with ENABLE_HARDEDNING. LLVM 18 is temporarily warning that ENABLE_ASSERTIONS is deprecated. Since we treat warnings as errors, this causes build failures for LLVM 18. This commit can probably be safely removed/undone once LLVM hardening removes the check [here](https://github.com/llvm/llvmproject/blob/667602793bef72e64367ac46cbaf96e3afaea22e/libcxx/include/__config#L211). --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>