[all-commits] [llvm/llvm-project] f5bbe3: [clang] SequenceChecker: C++17 sequencing rule for...
Bruno Ricci via All-commits
all-commits at lists.llvm.org
Sat Jun 20 03:11:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f5bbe390d23d7da0ffb110cdb24b583c2dc87eba
https://github.com/llvm/llvm-project/commit/f5bbe390d23d7da0ffb110cdb24b583c2dc87eba
Author: Bruno Ricci <riccibrun at gmail.com>
Date: 2020-06-20 (Sat, 20 Jun 2020)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/warn-unsequenced.cpp
Log Message:
-----------
[clang] SequenceChecker: C++17 sequencing rule for overloaded operators.
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).
Reported in PR35340.
Differential Revision: https://reviews.llvm.org/D81330
Reviewed By: rsmith
More information about the All-commits
mailing list