aaron.ballman added a subscriber: aaron.ballman.
================
Comment at: lib/Parse/ParseDecl.cpp:4811
@@ -4810,2 +4810,3 @@
case tok::kw___unaligned:
- if (AttrReqs & AR_DeclspecAttributesParsed) {
+ // Allow __unaligned in function definition after a parameter list
+ if ((AttrReqs & AR_DeclspecAttributesParsed) ||
----------------
MSDN suggests that __unaligned is only valid on a pointer declaration. Is there
something this is expected to support, or does MSVC just happen to silently
accept the keyword in this position?
http://reviews.llvm.org/D17709
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits