rnk added a comment.

In https://reviews.llvm.org/D23895#528208, @aaron.ballman wrote:

> You are removing a lot of instances of `MaybeParseMicrosoftAttributes()`, but 
> I'm not certain I understand why. Can you describe why you need to remove 
> those?


That shouldn't change functionality, Nico wrote: "It moved calls of 
MaybeParseMicrosoftAttributes(attrs) that precede 
ParseExternalDeclaration(attrs) into ParseExternalDeclaration(). As far as I 
can tell, every call of ParseExternalDeclaration() was preceded by a call to 
MaybeParseMicrosoftAttributes(), so this should be behavior-preserving."


================
Comment at: include/clang/Sema/AttributeList.h:111
@@ -108,3 +110,3 @@
     /// #pragma ...
-    AS_Pragma
+    AS_Pragma,
   };
----------------
aaron.ballman wrote:
> Please remove the trailing comma.
IMO trailing commas in long lists are nice. There's a reason they got added to 
C++11.


https://reviews.llvm.org/D23895



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to