commit | cdef2b75aa60cde1ca00e0aa3f89139ac89c6ae4 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Jul 31 00:48:10 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Jul 31 00:48:10 2009 +0000 |
tree | 495c26d02b13cb3150354187e8c586b665e17387 | |
parent | 82ec2e99084996eecbdf3a304f3cbba8c16c2f6b [diff] [blame] |
Add a CastKind enum to CastExpr. Right now it's not used for much but it will be :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77650 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PCHReaderStmt.cpp b/lib/Frontend/PCHReaderStmt.cpp index 16c0e79..6b97e61 100644 --- a/lib/Frontend/PCHReaderStmt.cpp +++ b/lib/Frontend/PCHReaderStmt.cpp
@@ -460,6 +460,8 @@ unsigned PCHStmtReader::VisitCastExpr(CastExpr *E) { VisitExpr(E); E->setSubExpr(cast<Expr>(StmtStack.back())); + E->setCastKind((CastExpr::CastKind)Record[Idx++]); + return 1; }