[all-commits] [llvm/llvm-project] 929d5d: [libc++] Simplify __config a bit

philnik777 via All-commits all-commits at lists.llvm.org
Fri Jun 17 06:54:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 929d5de22c49ec42dba97c556bf22d20ad5e9898
      https://github.com/llvm/llvm-project/commit/929d5de22c49ec42dba97c556bf22d20ad5e9898
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-06-17 (Fri, 17 Jun 2022)

  Changed paths:
    M libcxx/include/__config

  Log Message:
  -----------
  [libc++] Simplify __config a bit

Simplify logic in `__config` by assuming that we are using Clang in C++03 mode. Also, use standardized feature-test macros instead of compiler-specific checks (like `__has_feature`) in a couple of places.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

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




More information about the All-commits mailing list