title: Can I change the order of argument evaluation in clang?
body: <p>Clang evaluates its arguments from left to right, gcc from right to left. (Both is ok according to the C and C++ language specs, see also <a href="https://stackoverflow.com/questions/15440833/g-vs-intel-clang-argument-passing-order">g++ vs intel/clang argument passing order?</a>) Is there a way to change the order of argument evaluation in clang? If not via a pragma or compiler switch, maybe someone can point me to the right place in the clang codebase?</p>
  
  <hr>
  
  <p>Some background information: I'm having a huge (3rd party, not so well documented) codebase that I'm trying to port from gcc to clang and I'm seeing strange problems. From previous experiences I think that at least part of the problem is the argument order evaluation. Being able to switch back and forth between the two modes without mixing two entirely different compilers (and thus maybe introducing many other sources of problems) would be very helpful in bisecting the problem.</p>