[llvm] [llvm] Drop "const" from "const ArrayRef" (NFC) (PR #138818)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 01:23:07 PDT 2025


https://github.com/jayfoad commented:

LGTM but this is not specific to ArrayRef, it is just a special case of const return type: https://clang.llvm.org/extra/clang-tidy/checks/readability/const-return-type.html

https://github.com/llvm/llvm-project/pull/138818


More information about the llvm-commits mailing list