diff options
author | Jens Massberg <massberg@google.com> | 2023-04-21 16:41:43 +0200 |
---|---|---|
committer | Jens Massberg <massberg@google.com> | 2023-06-07 12:56:35 +0200 |
commit | 593a2740f7a499e35f19e64d180d0b8246b52ba3 (patch) | |
tree | d2d2124b4cbd35f7b0c2922e3d3cf877e027bff7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4e312abdfd4fb9d60afe6590588092ba0bfb23c9 (diff) | |
download | llvm-593a2740f7a499e35f19e64d180d0b8246b52ba3.zip llvm-593a2740f7a499e35f19e64d180d0b8246b52ba3.tar.gz llvm-593a2740f7a499e35f19e64d180d0b8246b52ba3.tar.bz2 |
[clang] Show error if defaulted comparions operator function is volatile or has ref-qualifier &&.
This patch implemed the change proposed in [P2002R1] to 11.11.1 [class.compare.default] paragraph 1.
A defaulted compariosn operator function must be non-volatile and must either have no ref-qualifier or the ref-qualifier &.
Differential Revision: https://reviews.llvm.org/D148924
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions