[clang][Sema] SequenceChecker: C++17 sequencing rule for call expressions.
authorBruno Ricci <riccibrun@gmail.com>
Wed, 3 Jun 2020 11:35:12 +0000 (12:35 +0100)
committerBruno Ricci <riccibrun@gmail.com>
Wed, 3 Jun 2020 11:35:12 +0000 (12:35 +0100)
commita2f32bfcc7cd6828785011ce90f6e0314d096e89
tree24b558201e491bb7a7fda1152af432acb57415ee
parent05eabb52045f3a20e137ff217b6fc1d5bd1155b4
[clang][Sema] SequenceChecker: C++17 sequencing rule for call expressions.

In C++17 the postfix-expression of a call expression is sequenced before
each expression in the expression-list and any default argument.

Differential Revision: https://reviews.llvm.org/D58579

Reviewed By: rsmith
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaCXX/warn-unsequenced.cpp