diff options
Diffstat (limited to 'lib/Frontend')
-rw-r--r-- | lib/Frontend/PCHReaderStmt.cpp | 2 | ||||
-rw-r--r-- | lib/Frontend/PCHWriterStmt.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/PCHReaderStmt.cpp b/lib/Frontend/PCHReaderStmt.cpp index 051b2257e4..03df4d78d9 100644 --- a/lib/Frontend/PCHReaderStmt.cpp +++ b/lib/Frontend/PCHReaderStmt.cpp @@ -588,7 +588,7 @@ void PCHStmtReader::VisitConditionalOperator(ConditionalOperator *E) { void PCHStmtReader::VisitImplicitCastExpr(ImplicitCastExpr *E) { VisitCastExpr(E); - E->setLvalueCast(Record[Idx++]); + E->setCategory(static_cast<ImplicitCastExpr::ResultCategory>(Record[Idx++])); } void PCHStmtReader::VisitExplicitCastExpr(ExplicitCastExpr *E) { diff --git a/lib/Frontend/PCHWriterStmt.cpp b/lib/Frontend/PCHWriterStmt.cpp index 75377286e5..90e48c457f 100644 --- a/lib/Frontend/PCHWriterStmt.cpp +++ b/lib/Frontend/PCHWriterStmt.cpp @@ -602,7 +602,7 @@ void PCHStmtWriter::VisitConditionalOperator(ConditionalOperator *E) { void PCHStmtWriter::VisitImplicitCastExpr(ImplicitCastExpr *E) { VisitCastExpr(E); - Record.push_back(E->isLvalueCast()); + Record.push_back(E->getCategory()); Code = pch::EXPR_IMPLICIT_CAST; } |