aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-10-04 18:34:43 -0400
committerGitHub <noreply@github.com>2023-10-04 18:34:43 -0400
commitb09551f07408aad37c5be7fdbd8dd5a6f9056738 (patch)
treee4f27680897c5722eb638c600c40d5f691280e83 /clang/lib/Basic/Module.cpp
parentcb7cf626d26e50887828d466c0187907719824d4 (diff)
downloadllvm-b09551f07408aad37c5be7fdbd8dd5a6f9056738.zip
llvm-b09551f07408aad37c5be7fdbd8dd5a6f9056738.tar.gz
llvm-b09551f07408aad37c5be7fdbd8dd5a6f9056738.tar.bz2
[libc++] Fix implementation of iota_view::size (#67819)
We were incorrectly deducing the return type of size() because we were not using ternary operators in the implementation (as the spec says). Instead of deducing the common type of the expressions in the spec, we would deduce potentially different return types and fail to compile. Fixes #67551
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions