[all-commits] [llvm/llvm-project] 31282d: Fix LLVM_REVERSE_ITERATION
thegreatbeanz via All-commits
all-commits at lists.llvm.org
Mon Apr 20 15:33:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 31282d399b79526303ae4b5d1f73ace8a40c6587
https://github.com/llvm/llvm-project/commit/31282d399b79526303ae4b5d1f73ace8a40c6587
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2020-04-20 (Mon, 20 Apr 2020)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
Log Message:
-----------
Fix LLVM_REVERSE_ITERATION
A recent change (4e86e5eedc6), broke `LLVM_REVERSE_ITERATION` for DenseMaps by adding an assert. It is valid to de-reference and increment one step behind `End` when reverse iteration is enabled because `End` is actually the start of the pointer bucket.
More information about the All-commits
mailing list