[PATCH] D81330: [clang][Sema] SequenceChecker: C++17 sequencing rule for overloaded operators.
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 6 05:18:18 PDT 2020
riccibruno created this revision.
riccibruno added a reviewer: rsmith.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.
riccibruno added a parent revision: D81003: [clang][Sema] SequenceChecker: Also visit default arguments..
In C++17 the operand(s) of an overloaded operator are sequenced as for the corresponding built-in operator when the overloaded operator is called with the operator notation ([over.match.oper]p2).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81330
Files:
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaCXX/warn-unsequenced.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81330.269012.patch
Type: text/x-patch
Size: 12967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200606/44116433/attachment.bin>
More information about the cfe-commits
mailing list