aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/sys/resource
diff options
context:
space:
mode:
authorEric Feng <55723758+efric@users.noreply.github.com>2026-02-16 17:22:49 -0800
committerGitHub <noreply@github.com>2026-02-17 01:22:49 +0000
commit051fb5a1d01daa205356edf0197407fa1363acbc (patch)
tree2170e329ad4a7075acd80537554063f95765d1be /libc/test/src/sys/resource
parent1f008b6b15a8b49559e6dbe8f9c4c4edcfa657c3 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[ADT] Remove misleading is_const check in MutableArrayRef constructor (#181758)HEADmain
The `std::negation<std::is_const<C>>` check here seems semantically inaccurate; we should care about whether the container provides mutable element access, not the constness of the container itself. This was already being checked but was previously being dropped prior to the change from `const C&` to `C&` in https://github.com/llvm/llvm-project/pull/181190. That was sufficient in itself to fix the referenced issue https://github.com/llvm/llvm-project/issues/181176 --------- Signed-off-by: Eric Feng <Eric.Feng@amd.com>
Diffstat (limited to 'libc/test/src/sys/resource')
0 files changed, 0 insertions, 0 deletions