[all-commits] [llvm/llvm-project] 19bc9e: [libc++] Avoid including <Block.h> from <functional>
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Jul 31 11:22:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 19bc9ea480b60b607a3e303f20c7a3a2ea553369
https://github.com/llvm/llvm-project/commit/19bc9ea480b60b607a3e303f20c7a3a2ea553369
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-07-31 (Fri, 31 Jul 2020)
Changed paths:
M libcxx/include/functional
M libcxx/test/libcxx/utilities/function.objects/func.blocks.sh.cpp
Log Message:
-----------
[libc++] Avoid including <Block.h> from <functional>
Block.h is a pretty common name, which can lead to nasty collisions with
user provided headers. Since we're only getting a few simple declarations
from the header, it's better to declare them manually than to include the
header.
rdar://66384326
Differential Revision: https://reviews.llvm.org/D85035
More information about the All-commits
mailing list