aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantRange.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2024-08-06 19:47:56 +0200
committerGitHub <noreply@github.com>2024-08-06 19:47:56 +0200
commit4dee6411e0d993fd17099bd7564276474412383e (patch)
tree972b1a3f28d4b2f23e5a731d19771de0c34f371d /llvm/lib/IR/ConstantRange.cpp
parent66f4e3f8dbab78d784f776914ac30db09e431b49 (diff)
downloadllvm-4dee6411e0d993fd17099bd7564276474412383e.zip
llvm-4dee6411e0d993fd17099bd7564276474412383e.tar.gz
llvm-4dee6411e0d993fd17099bd7564276474412383e.tar.bz2
[libc++] Implements LWG3130. (#101889)
This adds addressof at the required places in [input.output]. Some of the new tests failed since string used operator& internally. These have been fixed too. Note the new fstream tests perform output to a basic_string instead of a double. Using a double requires num_get specialization num_get<CharT, istreambuf_iterator<CharT, char_traits_operator_hijacker<CharT>> This facet is not present in the locale database so the conversion would fail due to a missing locale facet. Using basic_string avoids using the locale. As a drive-by fixes several bugs in the ofstream.cons tests. These tested ifstream instead of ofstream with an open mode. Implements: - LWG3130 [input.output] needs many addressof Closes #100246.
Diffstat (limited to 'llvm/lib/IR/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions