aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-11-28 08:01:46 -0500
committerLouis Dionne <ldionne.2@gmail.com>2023-01-30 10:19:32 -0500
commit1562e5149174b86c8f9d0b4d2ec0101fe67dddcb (patch)
tree6e4ec9c7dbbb5dd6f1c2133c4bee01e770de786c /llvm/lib/Transforms/Utils/Local.cpp
parentaf3a5ef171f9d6a125bde43d8b4d09a8cffc33e0 (diff)
downloadllvm-1562e5149174b86c8f9d0b4d2ec0101fe67dddcb.zip
llvm-1562e5149174b86c8f9d0b4d2ec0101fe67dddcb.tar.gz
llvm-1562e5149174b86c8f9d0b4d2ec0101fe67dddcb.tar.bz2
[libc++] Don't assume that string_view::const_iterator is a raw pointer
Our implementation of std::format assumed that string_view's iterators were raw pointers in various places. If we want to introduce a checked iterator in debug mode, that won't be true anymore. This patch removes that assumption. Differential Revision: https://reviews.llvm.org/D138795
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions