diff options
author | David L. Jones <dlj@google.com> | 2016-12-21 00:17:49 +0000 |
---|---|---|
committer | David L. Jones <dlj@google.com> | 2016-12-21 00:17:49 +0000 |
commit | be1557ac32ff1a79cf1a8bdbeb9b963783c11299 (patch) | |
tree | 6edbc94a089d715657ad81381bf50a7d5652b5fb /clang/lib/Lex/ModuleMap.cpp | |
parent | df1e4b697e4bd91cf30130756d3d29fa64b8b6d2 (diff) | |
download | llvm-be1557ac32ff1a79cf1a8bdbeb9b963783c11299.zip llvm-be1557ac32ff1a79cf1a8bdbeb9b963783c11299.tar.gz llvm-be1557ac32ff1a79cf1a8bdbeb9b963783c11299.tar.bz2 |
Store the "current position" index within the ASTRecordReader.
Summary:
For ASTDeclReader and ASTStmtReader, every parameter "unsigned &Idx" ultimately
comes from a variable that is defined on the stack, next to the RecordData. This
change moves that index into the ASTRecordReader.
TypeLocReader cannot be transitioned, due to TableGen-generated code which calls
ASTReader::GetTypeSourceInfo.
Reviewers: rsmith
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D27836
llvm-svn: 290217
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions