mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Update attribute reading for the changed source location code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c77c16f31
commit
2dc91642ec
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user