aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-04-20 22:08:00 -0400
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-04-30 23:06:45 -0400
commit6946f0ecca64f3af6b9e28cced9c982de2748f19 (patch)
tree94bd8c92dbc61709e7c0304e5bb9e570d22999ea /clang/lib/Frontend/CompilerInvocation.cpp
parent0a2921993199fbf8af5078dce0dd933d6a50e25b (diff)
downloadllvm-6946f0ecca64f3af6b9e28cced9c982de2748f19.zip
llvm-6946f0ecca64f3af6b9e28cced9c982de2748f19.tar.gz
llvm-6946f0ecca64f3af6b9e28cced9c982de2748f19.tar.bz2
[libc++] [LIBCXX-DEBUG-FIXME] <span>, like <string_view>, has no use for debug iterators.
A span has no idea what container (if any) "owns" its iterators, nor under what circumstances they might become invalidated. However, continue to use `__wrap_iter<T*>` instead of raw `T*` outside of debug mode, because we've been shipping `std::span` since Clang 7 and ldionne doesn't want to break ABI. (Namely, the mangling of functions taking `span::iterator` as a parameter.) Permit using raw `T*` there, but only under an ABI macro: `_LIBCPP_ABI_SPAN_POINTER_ITERATORS`. Differential Revision: https://reviews.llvm.org/D101003
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions