P0145R3 (C++17 evaluation order tweaks): consistently emit the LHS of array
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 26 Sep 2016 23:49:47 +0000 (23:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 26 Sep 2016 23:49:47 +0000 (23:49 +0000)
commit9e67b9922bb19279efadec86e6b9203c21ba90ee
tree09796fe5910551824a872e14c5ff2c29d4b30db6
parent40b6500445099e2114f5f02300e425d18aa99ada
P0145R3 (C++17 evaluation order tweaks): consistently emit the LHS of array
subscripting before the RHS, regardless of which is the base and which is the
index.

llvm-svn: 282453
clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGen/captured-statements-nested.c
clang/test/CodeGenCXX/catch-undef-behavior.cpp
clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp
clang/test/CodeGenCXX/cxx1z-eval-order.cpp [new file with mode: 0644]
clang/test/CodeGenCXX/pragma-loop-safety.cpp
clang/test/CodeGenCXX/vla-lambda-capturing.cpp