[PATCH] D107575: [Flang] Ported test_errors.sh to Python

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 11:07:53 PDT 2021


Meinersbur added a comment.

The evaluation order is indeed undefined <https://en.cppreference.com/w/cpp/language/eval_order> for operators except `||` and `&&`. I suggest to store the results in a variables. Them being part of a if-else will require some restructuring.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107575/new/

https://reviews.llvm.org/D107575



More information about the llvm-commits mailing list