r184972 - Fix warning: commas at the end of enumerator lists are a C++11 extension [-Wc++11-extensions]

Reid Kleckner rnk at google.com
Wed Jun 26 10:41:29 PDT 2013


Thanks.


On Wed, Jun 26, 2013 at 1:31 PM, Nico Weber <nicolasweber at gmx.de> wrote:

> Author: nico
> Date: Wed Jun 26 12:31:55 2013
> New Revision: 184972
>
> URL: http://llvm.org/viewvc/llvm-project?rev=184972&view=rev
> Log:
> Fix warning: commas at the end of enumerator lists are a C++11 extension
> [-Wc++11-extensions]
>
> Modified:
>     cfe/trunk/include/clang/Lex/Token.h
>
> Modified: cfe/trunk/include/clang/Lex/Token.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Token.h?rev=184972&r1=184971&r2=184972&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Lex/Token.h (original)
> +++ cfe/trunk/include/clang/Lex/Token.h Wed Jun 26 12:31:55 2013
> @@ -78,7 +78,7 @@ public:
>      LeadingEmptyMacro = 0x10, // Empty macro exists before this token.
>      HasUDSuffix = 0x20,    // This string or character literal has a
> ud-suffix.
>      HasUCN = 0x40,         // This identifier contains a UCN.
> -    IgnoredComma = 0x80,   // This comma is not a macro argument
> separator (MS).
> +    IgnoredComma = 0x80    // This comma is not a macro argument
> separator (MS).
>    };
>
>    tok::TokenKind getKind() const { return (tok::TokenKind)Kind; }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130626/82327456/attachment.html>


More information about the cfe-commits mailing list