aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Expr.h')
-rw-r--r--include/clang/AST/Expr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index 819996ba12..d19abe3034 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -110,6 +110,14 @@ public:
T->getStmtClass() <= lastExprConstant;
}
static bool classof(const Expr *) { return true; }
+
+ void Emit(llvm::Serializer& S) const {
+ llvm::SerializeTrait<Stmt>::Emit(S,*this);
+ }
+
+ static inline Expr* Materialize(llvm::Deserializer& D) {
+ return cast<Expr>(llvm::SerializeTrait<Stmt>::Materialize(D));
+ }
};
//===----------------------------------------------------------------------===//