title: How to generate assembly code with clang in Intel syntax?
body: <p>As <a href="https://stackoverflow.com/questions/199966/how-do-you-use-gcc-to-generate-assembly-code-in-intel-syntax">this question</a> shows, with g++, I can do <code>g++ -S -masm=intel test.cpp</code>.
  Also, with clang, I can do <code>clang++ -S test.cpp</code>, but <code>-masm=intel</code> is not supported by clang (<code>warning argument unused during compilation: -masm=intel</code>). How do I get intel syntax with clang?</p>