r231604 - Fix the MSVC build.

Benjamin Kramer benny.kra at googlemail.com
Sun Mar 8 11:20:22 PDT 2015


Author: d0k
Date: Sun Mar  8 13:20:22 2015
New Revision: 231604

URL: http://llvm.org/viewvc/llvm-project?rev=231604&view=rev
Log:
Fix the MSVC build.

Type traits are hard.

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=231604&r1=231603&r2=231604&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Token.h (original)
+++ cfe/trunk/include/clang/Lex/Token.h Sun Mar  8 13:20:22 2015
@@ -287,8 +287,6 @@ public:
   }
 };
 
-static_assert(std::is_pod<Token>::value, "Token should be a POD type!");
-
 /// \brief Information about the conditional stack (\#if directives)
 /// currently active.
 struct PPConditionalInfo {





More information about the cfe-commits mailing list