Update attribute reading for the changed source location code.

llvm-svn: 115624
This commit is contained in:
Sebastian Redl 2010-10-05 15:59:36 +00:00
parent d03e81dba8
commit c4abc7036d
1 changed files with 2 additions and 2 deletions

View File

@ -269,10 +269,10 @@ namespace {
OS << " bool is" << getLowerName() << "Expr = Record[Idx++];\n";
OS << " void *" << getLowerName() << "Ptr;\n";
OS << " if (is" << getLowerName() << "Expr)\n";
OS << " " << getLowerName() << "Ptr = ReadExpr(DeclsCursor);\n";
OS << " " << getLowerName() << "Ptr = ReadExpr(F);\n";
OS << " else\n";
OS << " " << getLowerName()
<< "Ptr = GetTypeSourceInfo(DeclsCursor, Record, Idx);\n";
<< "Ptr = GetTypeSourceInfo(F, Record, Idx);\n";
}
void writePCHWrite(raw_ostream &OS) const {
OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n";