r177282 - ObjCDictionaryElements are pod-like.
Benjamin Kramer
benny.kra at googlemail.com
Mon Mar 18 05:41:26 PDT 2013
Author: d0k
Date: Mon Mar 18 07:41:25 2013
New Revision: 177282
URL: http://llvm.org/viewvc/llvm-project?rev=177282&view=rev
Log:
ObjCDictionaryElements are pod-like.
Modified:
cfe/trunk/include/clang/AST/ExprObjC.h
Modified: cfe/trunk/include/clang/AST/ExprObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprObjC.h?rev=177282&r1=177281&r2=177282&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprObjC.h (original)
+++ cfe/trunk/include/clang/AST/ExprObjC.h Mon Mar 18 07:41:25 2013
@@ -211,7 +211,13 @@ struct ObjCDictionaryElement {
/// \brief Determines whether this dictionary element is a pack expansion.
bool isPackExpansion() const { return EllipsisLoc.isValid(); }
};
+} // end namespace clang
+namespace llvm {
+template <> struct isPodLike<clang::ObjCDictionaryElement> : llvm::true_type {};
+}
+
+namespace clang {
/// ObjCDictionaryLiteral - AST node to represent objective-c dictionary
/// literals; as in: @{@"name" : NSUserName(), @"date" : [NSDate date] };
class ObjCDictionaryLiteral : public Expr {
More information about the cfe-commits
mailing list