[all-commits] [llvm/llvm-project] 00d3e6: [c++17] Implement P0145R3 during constant evaluation.

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Oct 6 12:33:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 00d3e6c1b4d0b7879afc6002b721111b49ecf755
      https://github.com/llvm/llvm-project/commit/00d3e6c1b4d0b7879afc6002b721111b49ecf755
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/constant-expression-cxx1z.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [c++17] Implement P0145R3 during constant evaluation.

Ensure that we evaluate assignment and compound-assignment
right-to-left, and array subscripting left-to-right.

Fixes PR47724.

This is a re-commit of ded79be, reverted in 37c74df, with a fix and test
for the crasher bug previously introduced.




More information about the All-commits mailing list