aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-01-11 16:29:17 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-01-25 19:34:41 -0500
commitf9b6fd269b6fd2b085c3537b6730a02503430ef0 (patch)
treedfd63821c00a6dc7f46d51dee814c141b0462ebb /clang/lib/Frontend/CompilerInvocation.cpp
parent70e251497c4e26f8cfd85e745459afff97c909ce (diff)
downloadllvm-f9b6fd269b6fd2b085c3537b6730a02503430ef0.zip
llvm-f9b6fd269b6fd2b085c3537b6730a02503430ef0.tar.gz
llvm-f9b6fd269b6fd2b085c3537b6730a02503430ef0.tar.bz2
[libc++] Support immovable return types in std::function.
LWG reflector consensus is that this was a bug in libc++. (In particular, MSVC also will fix it in their STL, soon.) Bug originally discovered by Logan Smith. Also fix `std::function<const void()>`, which should work the same way as `std::function<void()>` in terms of allowing "conversions" from non-void types. Differential Revision: https://reviews.llvm.org/D94452
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions