diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-03-31 20:49:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-03-31 20:49:06 +0000 |
commit | b0e79823d699d9a0c65edb7f425d55a305cccde3 (patch) | |
tree | 9a86a30e2643f9516095b89bbbae930baa13f5c3 /libcxx/test/std/utilities/function.objects | |
parent | 76829d8928790d573e0bdc2dc1a2f042ecb8eeaa (diff) | |
download | bcm5719-llvm-b0e79823d699d9a0c65edb7f425d55a305cccde3.tar.gz bcm5719-llvm-b0e79823d699d9a0c65edb7f425d55a305cccde3.zip |
Make common_type's implementation common
Summary:
Currently the C++03 implementation of common_type has much different behavior than the C++11 one. This causes bugs, including inside `<chrono>`.
This patch unifies the two implementations as best it can. The more code they share, the less their behavior can diverge.
Reviewers: mclow.lists, ldionne, sbenza
Reviewed By: mclow.lists, ldionne
Subscribers: libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D59678
llvm-svn: 357370
Diffstat (limited to 'libcxx/test/std/utilities/function.objects')
0 files changed, 0 insertions, 0 deletions