diff options
| author | Richard Trieu <rtrieu@google.com> | 2015-04-15 01:21:15 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2015-04-15 01:21:15 +0000 |
| commit | 6b1aa5f5e17d019115365cc7722c380b5bb02dc7 (patch) | |
| tree | 3f1f72a9f7185783ec4daf2862a67e23790431d8 /llvm/lib/CodeGen/WinEHPrepare.cpp | |
| parent | bb61825cd5d87872cb0bf8beb3af15c590e86974 (diff) | |
| download | bcm5719-llvm-6b1aa5f5e17d019115365cc7722c380b5bb02dc7.tar.gz bcm5719-llvm-6b1aa5f5e17d019115365cc7722c380b5bb02dc7.zip | |
Change range-based for-loops to be -Wrange-loop-analysis clean.
No functionality change.
llvm-svn: 234963
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index e5e6f250d3e..afe26ff8224 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -909,7 +909,7 @@ bool WinEHPrepare::outlineHandler(ActionHandler *Action, Function *SrcFn, // save the association of the blocks in LPadTargetBlocks. The // return instructions which are created from these branches will be // replaced after all landing pads have been outlined. - for (const auto &MapEntry : VMap) { + for (const auto MapEntry : VMap) { // VMap maps all values and blocks that were just cloned, but dead // blocks which were pruned will map to nullptr. if (!isa<BasicBlock>(MapEntry.first) || MapEntry.second == nullptr) |

