[all-commits] [llvm/llvm-project] fe5f23: Fix assert that doesn't check anything.
Richard Trieu via All-commits
all-commits at lists.llvm.org
Thu Jan 23 19:11:58 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fe5f233a938f5bc31c458c39cca54d7dcc2667ef
https://github.com/llvm/llvm-project/commit/fe5f233a938f5bc31c458c39cca54d7dcc2667ef
Author: Weverything <rtrieu at google.com>
Date: 2020-01-23 (Thu, 23 Jan 2020)
Changed paths:
M llvm/lib/Analysis/SyncDependenceAnalysis.cpp
Log Message:
-----------
Fix assert that doesn't check anything.
Move the assert that checks for the end iterator inside the loop which
actually moves over the elements. This allows it to check that the
iteration stays within the range.
More information about the All-commits
mailing list