http://llvm.org/bugs/show_bug.cgi?id=18126
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- --- Comment #2 from Richard Smith <[email protected]> --- (In reply to comment #1) > From what I can tell, cl does not ignore __declspec(align) on record > declarations from my tests. Eg) [...] > struct __declspec(align(16)) S { > int a; > }; That's a definition, not just a declaration, though. Try this: struct __declspec(align(16)) S; struct S {}; static_assert(__alignof(S) == 1, ""); ... the assert passes in VS, fails in clang-cl. I believe this was a tracking bug so Warren didn't forget to fix these things; reopening it on that basis. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
