diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-10-05 15:59:36 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-10-05 15:59:36 +0000 |
| commit | c4abc7036d4a236d78c37e42222b661fb40b5c1c (patch) | |
| tree | 6492df18e0545b214eafea8133b3c9715e028882 | |
| parent | d03e81dba8d9ac27ce381780a820126e06fab18c (diff) | |
| download | bcm5719-llvm-c4abc7036d4a236d78c37e42222b661fb40b5c1c.tar.gz bcm5719-llvm-c4abc7036d4a236d78c37e42222b661fb40b5c1c.zip | |
Update attribute reading for the changed source location code.
llvm-svn: 115624
| -rw-r--r-- | llvm/utils/TableGen/ClangAttrEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/ClangAttrEmitter.cpp b/llvm/utils/TableGen/ClangAttrEmitter.cpp index 2faa49ca45a..3a6e7a8addc 100644 --- a/llvm/utils/TableGen/ClangAttrEmitter.cpp +++ b/llvm/utils/TableGen/ClangAttrEmitter.cpp @@ -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"; |

