aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-11-01 10:43:05 -0400
committerGitHub <noreply@github.com>2023-11-01 10:43:05 -0400
commit979c19ab12f1a6defd9436fc8eaf2bca35fbd655 (patch)
tree237e7012b1130735527dc037a4a8774a0dfe8e56 /clang/lib/Basic/Module.cpp
parent8c0ec793ee5baa5b0546272823644f53460f4849 (diff)
downloadllvm-979c19ab12f1a6defd9436fc8eaf2bca35fbd655.zip
llvm-979c19ab12f1a6defd9436fc8eaf2bca35fbd655.tar.gz
llvm-979c19ab12f1a6defd9436fc8eaf2bca35fbd655.tar.bz2
[libc++] Fix complexity guarantee in ranges::clamp (#68413)
This patch prevents us from calling the projection more than 3 times in std::clamp, as required by the Standard. Fixes #64717
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions