ehsan added a comment.

In http://reviews.llvm.org/D16503#342116, @thakis wrote:

> Sorry for the slow response. I was reading http://reviews.llvm.org/D15670 to 
> understand this patch, and I couldn't find anything in that patch that 
> enables this extension only in Microsoft mode. Trying 
> suppressed-comma-msextension.cpp locally, it seems to pass without 
> -fms-compatibility too. Am I missing something, or does 
> http://reviews.llvm.org/D15670 lack a check for MicrosoftExt?


Hmm, is the `PP.getLangOpts().MSVCCompat` check earlier in 
`MaybeRemoveCommaBeforeVaArgs()` insufficient?

(Note that this whole thing mostly builds on top of r167613 which was done by 
Andy, so it's possible that I needed to do something extra and I forgot that...)


http://reviews.llvm.org/D16503



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

Reply via email to