[cfe-commits] r90550 - /cfe/trunk/lib/Frontend/PCHReaderStmt.cpp
Eli Friedman
eli.friedman at gmail.com
Thu Dec 3 22:46:54 PST 2009
Author: efriedma
Date: Fri Dec 4 00:46:54 2009
New Revision: 90550
URL: http://llvm.org/viewvc/llvm-project?rev=90550&view=rev
Log:
Missed change from last commit.
Modified:
cfe/trunk/lib/Frontend/PCHReaderStmt.cpp
Modified: cfe/trunk/lib/Frontend/PCHReaderStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHReaderStmt.cpp?rev=90550&r1=90549&r2=90550&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PCHReaderStmt.cpp (original)
+++ cfe/trunk/lib/Frontend/PCHReaderStmt.cpp Fri Dec 4 00:46:54 2009
@@ -456,7 +456,7 @@
unsigned PCHStmtReader::VisitMemberExpr(MemberExpr *E) {
VisitExpr(E);
E->setBase(cast<Expr>(StmtStack.back()));
- E->setMemberDecl(cast<NamedDecl>(Reader.GetDecl(Record[Idx++])));
+ E->setMemberDecl(cast<ValueDecl>(Reader.GetDecl(Record[Idx++])));
E->setMemberLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
E->setArrow(Record[Idx++]);
return 1;
More information about the cfe-commits
mailing list