[all-commits] [llvm/llvm-project] f76c42: [libc++] Improve the detection of whether the bloc...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Apr 24 04:02:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f76c42416cf43b7027f41d6b3bc6ee7e5593a7fe
      https://github.com/llvm/llvm-project/commit/f76c42416cf43b7027f41d6b3bc6ee7e5593a7fe
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/functional
    M libcxx/test/libcxx/utilities/function.objects/func.blocks.sh.cpp

  Log Message:
  -----------
  [libc++] Improve the detection of whether the blocks runtime is available

The runtime for Blocks may not be available even though the Blocks
language extension _is_ available. Instead of potentially failing,
this commit is much more conservative and assumes the runtime for
Blocks is only provided on Apple platforms.

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




More information about the All-commits mailing list