aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMarek Kurdej <marek.kurdej@gmail.com>2020-11-26 10:07:16 +0100
committerMarek Kurdej <marek.kurdej@gmail.com>2020-11-26 10:13:12 +0100
commit841132efda2157c5f9e07cf31469470a6481ffd9 (patch)
treea98330f64dace38cbf0ebee873932461b4787146 /clang/lib/Frontend/CompilerInvocation.cpp
parent4f87d30a06dd08cec45cb595e9dbed6345c9a7c5 (diff)
downloadllvm-841132efda2157c5f9e07cf31469470a6481ffd9.zip
llvm-841132efda2157c5f9e07cf31469470a6481ffd9.tar.gz
llvm-841132efda2157c5f9e07cf31469470a6481ffd9.tar.bz2
[libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink.
This patch fixes the implementation as well as the tests that didn't actually test the wanted behaviour. You'll find all the details in the bug report. It adds as well deprecation warning for reserve() (without argument) and adds a test. http://wg21.link/P0966R1 https://bugs.llvm.org/show_bug.cgi?id=45368 https://reviews.llvm.org/D54992 Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D91778
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions