title: What predefined macro can I use to detect clang?
body: <p>I'm trying to detect the compiler used to compile my source code. I can easily find predefined macros to check for MSVC or GCC (see <a href="http://predef.sourceforge.net/" rel="noreferrer">http://predef.sourceforge.net/</a> for example), but I cannot find any macro to check for clang.</p>
  
  <p>Does someone know if clang defines a macro like <code>__CLANG__</code> in order to know what is currently compiling my code ?</p>