<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [ms-abi] Clang doesn't treat declspec on record declarations correctly"
   href="http://llvm.org/bugs/show_bug.cgi?id=18126">bug 18126</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>aaron@aaronballman.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [ms-abi] Clang doesn't treat declspec on record declarations correctly"
   href="http://llvm.org/bugs/show_bug.cgi?id=18126#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [ms-abi] Clang doesn't treat declspec on record declarations correctly"
   href="http://llvm.org/bugs/show_bug.cgi?id=18126">bug 18126</a>
              from <span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span></b>
        <pre>Filing this as several bug reports would certainly make it easier to
understand, and more actionable...

>From what I can tell, cl does not ignore __declspec(align) on record
declarations from my tests. Eg)

#include <stdio.h>

struct __declspec(align(16)) S {
  int a;
};

struct S2 {
  __declspec(align(16)) int a;
};

struct S3 {
  int a;
};

int main(void) {
  printf("%d, %d, %d\n", __alignof(S), __alignof(S2), __alignof(S3));
  return 0;
}

prints 16, 16, 4 in MSVC 12 and clang ToT.

I am going to close this as WORKSFORME, but encourage you to file new reports
(covering just one bug per report) with test cases if there are still issues on
ToT.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>