diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2023-07-03 13:29:15 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2023-07-03 16:58:04 +0200 |
commit | 9841daf27076886c6ab8e155eb812bda76f77532 (patch) | |
tree | 3d6b41c5b1d734b8f277d698406c6a74f372f489 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | a51fba6b0f0217ed0dfd5daf06548e9adab59ff0 (diff) | |
download | llvm-9841daf27076886c6ab8e155eb812bda76f77532.zip llvm-9841daf27076886c6ab8e155eb812bda76f77532.tar.gz llvm-9841daf27076886c6ab8e155eb812bda76f77532.tar.bz2 |
[clang][tooling] Fix early termination when there are nested expansions
This also does some cleanups, I am happy to undo them (or send as
separate patches):
- Change the early exit to stop only once we hit an expansion inside the
main file, to make sure we keep following the nested expansions.
- Add more tests to cover all the cases mentioned in the implementation
- Drop the adjustments for prev/next tokens. We do the final checks
based on the expansion locations anyway, so any intermediate mapping
was a no-op.
Differential Revision: https://reviews.llvm.org/D154335
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions