[cfe-commits] [Patch] PR11179 - Update StmtPrinter to not complain on some IntegerLiteral types

Chandler Carruth chandlerc at google.com
Thu Oct 20 17:36:36 PDT 2011


On Thu, Oct 20, 2011 at 5:12 PM, Richard Trieu <rtrieu at google.com> wrote:

> Should Clang be printing suffixes that are accepted only with certain
> flags?
>

I think this is an interesting policy decision. I'd love to hear Doug's
thoughts on it.

It seems fine to me for Clang, when running with -fms-extensions, to suggest
fixes even if only valid for -fms-extensions. Clearly if there is a generic
suggestion that could be made, that would be a preferred alternative. For
example, '__asm__' should be suggested before 'asm'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111020/c1597bc7/attachment.html>


More information about the cfe-commits mailing list