[all-commits] [llvm/llvm-project] 1c4b31: [libc++] Improve error messages for disabled modes

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri May 20 06:37:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c4b31c38b3c36d6e6bbb071ce66abfa52d64c10
      https://github.com/llvm/llvm-project/commit/1c4b31c38b3c36d6e6bbb071ce66abfa52d64c10
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M libcxx/include/barrier
    M libcxx/include/filesystem
    M libcxx/include/future
    M libcxx/include/ios
    M libcxx/include/latch
    M libcxx/include/locale.h
    M libcxx/include/semaphore
    M libcxx/include/shared_mutex
    M libcxx/include/thread

  Log Message:
  -----------
  [libc++] Improve error messages for disabled modes

We should not surface CMake-level options like LIBCXX_ENABLE_FILESYSTEM
to our users, since they don't know what it means. Instead, use a slightly
more general wording.

Also, add an error in <ios> to improve the quality of errors for people
trying to use <iostream> when localization is disabled.

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




More information about the All-commits mailing list