[cfe-commits] r105604 - /cfe/trunk/include/clang/Lex/Token.h
Benjamin Kramer
benny.kra at googlemail.com
Tue Jun 8 04:23:26 PDT 2010
Author: d0k
Date: Tue Jun 8 06:23:26 2010
New Revision: 105604
URL: http://llvm.org/viewvc/llvm-project?rev=105604&view=rev
Log:
Token is POD-like.
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=105604&r1=105603&r2=105604&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Token.h (original)
+++ cfe/trunk/include/clang/Lex/Token.h Tue Jun 8 06:23:26 2010
@@ -254,4 +254,9 @@
} // end namespace clang
+namespace llvm {
+ template <>
+ struct isPodLike<clang::Token> { static const bool value = true; };
+} // end namespace llvm
+
#endif
More information about the cfe-commits
mailing list