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

Nico Weber nicolasweber at gmx.de
Wed Jun 26 10:31:55 PDT 2013


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; }





More information about the cfe-commits mailing list