[all-commits] [llvm/llvm-project] 42d4a5: PR44723: Trigger return type deduction for operato...
Richard Smith via All-commits
all-commits at lists.llvm.org
Fri Jan 31 13:07:52 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 42d4a55f227a1cc78ab8071062d869abe88655d9
https://github.com/llvm/llvm-project/commit/42d4a55f227a1cc78ab8071062d869abe88655d9
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/class/class.compare/class.spaceship/p2.cpp
Log Message:
-----------
PR44723: Trigger return type deduction for operator<=>s whose return
types are needed to compute the return type of a defaulted operator<=>.
This raises the question of what to do if return type deduction fails.
The standard doesn't say, and implementations vary, so for now reject
that case eagerly to keep our options open.
More information about the All-commits
mailing list