diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-27 21:21:02 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-27 21:21:02 -0700 |
commit | 56ea4f9bd3d6c44f95f9b7b8639c9db043448742 (patch) | |
tree | 12c00022b185f6db02177da719d47291994f3fdc /llvm/lib/Transforms/Utils/LoopSimplify.cpp | |
parent | 33b93044352fae09376b7d71ce6f2441a34f343d (diff) | |
download | llvm-56ea4f9bd3d6c44f95f9b7b8639c9db043448742.zip llvm-56ea4f9bd3d6c44f95f9b7b8639c9db043448742.tar.gz llvm-56ea4f9bd3d6c44f95f9b7b8639c9db043448742.tar.bz2 |
[Transforms] Qualify auto in range-based for loops (NFC)
Identified with readability-qualified-auto.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index 2ff8a3f7..4425acd 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -231,7 +231,7 @@ static Loop *separateNestedLoop(Loop *L, BasicBlock *Preheader, // a function call is present until a better alternative becomes // available. This is similar to the conservative treatment of // convergent function calls in GVNHoist and JumpThreading. - for (auto BB : L->blocks()) { + for (auto *BB : L->blocks()) { for (auto &II : *BB) { if (auto CI = dyn_cast<CallBase>(&II)) { if (CI->isConvergent()) { |