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 | 773786df292c364357db2e9225092d272a9daf55 (patch) | |
tree | 7bceb2874e79ec255e6c76f21c7273caf6cdb406 /include/clang/Lex | |
parent | c650f177cbd0a923d01c3d00b4899b605f8f6ec3 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
0 files changed, 0 insertions, 0 deletions