aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MacroFusion.cpp
diff options
context:
space:
mode:
authorMichael Park <mcypark@gmail.com>2017-06-19 08:25:57 +0000
committerMichael Park <mcypark@gmail.com>2017-06-19 08:25:57 +0000
commit3f1e89380b294a1192fa4019053dc5ab3c8eacbf (patch)
treea5a11f8ea63a909879c81ec8b5553abbbeb563a0 /llvm/lib/CodeGen/MacroFusion.cpp
parentf92659e4ea0196d081ff714220e004f63d7fc5ef (diff)
downloadllvm-3f1e89380b294a1192fa4019053dc5ab3c8eacbf.zip
llvm-3f1e89380b294a1192fa4019053dc5ab3c8eacbf.tar.gz
llvm-3f1e89380b294a1192fa4019053dc5ab3c8eacbf.tar.bz2
Add a missing SFINAE condition to the `variant`'s converting constructor.
Remarks: This function shall not participate in overload resolution unless `is_same_v<decay_t<T>, variant>` is false, unless `decay_t<T>` is neither a specialization of `in_place_type_t` nor a specialization of `in_place_index_t`, unless `is_constructible_v<Tj, T>` is true, and unless the expression `FUN(std::forward<T>(t))` (with `FUN` being the above-mentioned set of imaginary functions) is well formed. Depends on D34111. Reviewers: EricWF, K-ballo Reviewed By: EricWF Subscribers: fhahn Differential Revision: https://reviews.llvm.org/D34112 llvm-svn: 305668
Diffstat (limited to 'llvm/lib/CodeGen/MacroFusion.cpp')
0 files changed, 0 insertions, 0 deletions