diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2021-03-04 18:58:42 +0000 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2021-03-04 18:58:59 +0000 |
commit | a85eb11129ce941e91b5bc3b188e469aaca4425f (patch) | |
tree | 7f43b18eb5380ab553d7ddc229ff15b0aeaaeada /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | f2b749be15688a8cebebdefe6b2be5a5dfaf5dd5 (diff) | |
download | llvm-a85eb11129ce941e91b5bc3b188e469aaca4425f.zip llvm-a85eb11129ce941e91b5bc3b188e469aaca4425f.tar.gz llvm-a85eb11129ce941e91b5bc3b188e469aaca4425f.tar.bz2 |
[clang-tidy] Extend LoopConvert on array with `!=` comparison
Enables transforming loops of the form:
```
for (int i = 0; I != container.size(); ++I) { container[I]...; }
for (int i = 0; I != N; ++I) { FixedArrSizeN[I]...; }
```
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D97940
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions