aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorXiaoyang Liu <siujoeng.lau@gmail.com>2024-08-12 13:30:47 -0400
committerGitHub <noreply@github.com>2024-08-12 19:30:47 +0200
commitd9caea18f946390e0b458471cdc3e3252099c1cf (patch)
tree91c9c58b86a064224974aa89aebe52f97d76b79a /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentfe7d2841cf67ba4c8b9780ea09557a558b2501a8 (diff)
downloadllvm-d9caea18f946390e0b458471cdc3e3252099c1cf.zip
llvm-d9caea18f946390e0b458471cdc3e3252099c1cf.tar.gz
llvm-d9caea18f946390e0b458471cdc3e3252099c1cf.tar.bz2
[libc++][ranges] LWG3564: `transform_view::iterator<true>::value_type` and `iterator_category` should use `const F&` (#91816)
## Introduction This patch implements LWG3564: `transform_view::iterator<true>::value_type` and `iterator_category` should use `const F&`. `transform_view`'s iterator currently obtained from a `const transform_view` invoke the transformation function as `const`, but the `value_type` and `iterator_category` determination uses non-`const` `F&`. ## Reference - [[range.transform.iterator]](https://eel.is/c++draft/range.transform.iterator) - [LWG3564](https://cplusplus.github.io/LWG/issue3564)
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions