aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-03-04 11:32:49 -0500
committerLouis Dionne <ldionne@apple.com>2020-03-04 11:35:34 -0500
commita2fe17cdc6501ca0a18218487fc35afef4f5f17a (patch)
tree63e9b5886a675acabde0ae45799b6145d3403389 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent71a316883d503ba9020d78089d276e73a6113cef (diff)
downloadllvm-a2fe17cdc6501ca0a18218487fc35afef4f5f17a.zip
llvm-a2fe17cdc6501ca0a18218487fc35afef4f5f17a.tar.gz
llvm-a2fe17cdc6501ca0a18218487fc35afef4f5f17a.tar.bz2
[libc++] Fix reverse_iterator test when UBSan is enabled
The goal of the test was only to check that we could access the `this->current` member of std::reverse_iterator from a derived class, but in doing so we incremented a null iterator, which is UB.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions