[all-commits] [llvm/llvm-project] d8e9a1: [CMake] Use `LLVM_ENABLE_ASSERTIONS` to enable ass...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Fri Feb 10 17:51:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8e9a1a12557cd5e80c3d713d9cbbba0f7406882
      https://github.com/llvm/llvm-project/commit/d8e9a1a12557cd5e80c3d713d9cbbba0f7406882
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [CMake] Use `LLVM_ENABLE_ASSERTIONS` to enable assertions in `libc++`

Follow-up to https://reviews.llvm.org/D142279 for also enabling `libc++` assertions.
This is particularly useful to recover the assertion checks we had with `llvm::Optional`, before moving to `std::optional`.

Differential Revision: https://reviews.llvm.org/D143612




More information about the All-commits mailing list