<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    While writing bindings to LLVM for another language via the c api I
    noticed that<br>
    LLVMAlignment and LLVMStackAlignment do not use 1<<x like all
    the others,<br>
    but 31<<x and 7<x respectively (see below, or here: <a
      class="moz-txt-link-freetext"
      href="http://llvm.org/docs/doxygen/html/Core_8h_source.html#l00148">http://llvm.org/docs/doxygen/html/Core_8h_source.html#l00148</a>).<br>
    It's likely this is as it is intended, but it does look out-of-place
    enough that<br>
    I thought it might be a typo and I would like to know. Also,
    1<<27 and 1<<28<br>
    get skipped over from LLVMStackAlignment to LLVMReturnsTwice:<br>
    <pre class="fragment"><span class="code">LLVMZExtAttribute</span>       = 1<<0,
<span class="code">LLVMSExtAttribute</span>       = 1<<1,
<span class="code">LLVMNoReturnAttribute</span>   = 1<<2,
<span class="code">LLVMInRegAttribute</span>      = 1<<3,
<span class="code">LLVMStructRetAttribute</span>  = 1<<4,
<span class="code">LLVMNoUnwindAttribute</span>   = 1<<5,
<span class="code">LLVMNoAliasAttribute</span>    = 1<<6,
<span class="code">LLVMByValAttribute</span>      = 1<<7,
<span class="code">LLVMNestAttribute</span>       = 1<<8,
<span class="code">LLVMReadNoneAttribute</span>   = 1<<9,
<span class="code">LLVMReadOnlyAttribute</span>   = 1<<10,
<span class="code">LLVMNoInlineAttribute</span>   = 1<<11,
<span class="code">LLVMAlwaysInlineAttribute</span>    = 1<<12,
<span class="code">LLVMOptimizeForSizeAttribute</span> = 1<<13,
<span class="code">LLVMStackProtectAttribute</span>    = 1<<14,
<span class="code">LLVMStackProtectReqAttribute</span> = 1<<15,
<b><span class="code">LLVMAlignment</span></b><b> = 31<<16,</b>
<span class="code">LLVMNoCaptureAttribute</span>  = 1<<21,
<span class="code">LLVMNoRedZoneAttribute</span>  = 1<<22,
<span class="code">LLVMNoImplicitFloatAttribute</span> = 1<<23,
<span class="code">LLVMNakedAttribute</span>      = 1<<24,
<span class="code">LLVMInlineHintAttribute</span> = 1<<25,
<b><span class="code">LLVMStackAlignment</span></b><b> = 7<<26,</b>
<b><span class="code">LLVMReturnsTwice</span></b><b> = 1 << 29,</b>
<span class="code">LLVMUWTable</span> = 1 << 30,</pre>
    <br>
    <br>
    <a class="moz-txt-link-freetext"
      href="http://llvm.org/docs/doxygen/html/Core_8h_source.html#l00148">http://llvm.org/docs/doxygen/html/Core_8h_source.html#l00148</a><br>
  </body>
</html>