diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2021-03-08 01:09:13 +0100 |
---|---|---|
committer | Matheus Izvekov <mizvekov@gmail.com> | 2021-03-30 22:00:33 +0200 |
commit | 3ad6dd5d8f0a70756f665e8179ad7c5210022c11 (patch) | |
tree | 33efd69744c073eb7d34418ca6de486623bafbef /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 73adc05cedb2da5c0f4b83a26478203937e3f501 (diff) | |
download | llvm-3ad6dd5d8f0a70756f665e8179ad7c5210022c11.zip llvm-3ad6dd5d8f0a70756f665e8179ad7c5210022c11.tar.gz llvm-3ad6dd5d8f0a70756f665e8179ad7c5210022c11.tar.bz2 |
[clang] Use decltype((E)) for compound requirement type constraint
See PR45088.
Compound requirement type constraints were using decltype(E) instead of
decltype((E)), as per `[expr.prim.req]p1.3.3`.
Since neither instantiation nor type dependence should matter for
the constraints, this uses an approach where a `decltype` type is not built,
and just the canonical type of the expression after template instantiation
is used on the requirement.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D98160
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions