diff options
author | Manuel Klimek <klimek@google.com> | 2022-11-26 18:20:22 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2022-11-26 18:23:42 +0000 |
commit | 49aca00d63e14df8bc68fc4329e6cbc9c9805eb8 (patch) | |
tree | a477f7efcb9a71e90a6ca97205347e648bbdb84c /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 13593dc9dc5a8f587402bf1e5f180f2c0fc750ee (diff) | |
download | llvm-49aca00d63e14df8bc68fc4329e6cbc9c9805eb8.zip llvm-49aca00d63e14df8bc68fc4329e6cbc9c9805eb8.tar.gz llvm-49aca00d63e14df8bc68fc4329e6cbc9c9805eb8.tar.bz2 |
[NFC] Remove peekNextToken(int).
Arbitrary lookahead restricts the implementation of our TokenSource,
specifically getting in the way of changes to handle macros better.
Instead, use getNextToken to parse lookahead linearly, and
getPosition/setPosition to unwind our lookahead.
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions