summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-06-27 07:39:31 -0700
committerGitHub <noreply@github.com>2025-06-27 07:39:31 -0700
commitf0311f447a2351248d6dfe8b14fb4af5080659e0 (patch)
treea3fb1625abc8aa817795d1e5bcf88c548ae9b840 /llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
parent3876e887d00fac5402555b35471775e03134ec1f (diff)
[ADT] Remove a constructor (NFC) (#146010)
ArrayRef now has a new constructor that takes a parameter whose type has data() and size() methods. Since the new constructor subsumes another constructor that takes std::array, this patch removes that constructor. Note that std::array also comes with data() and size() methods. The only problem is that ASTFileSignature in the clang frontend does not work with the new ArrayRef constructor because it overrides size, blocking access to std::array<uint8_t, 20>::size(). This patch adds an implicit cast operator to ArrayRef. Note that ASTFileSignature is defined as: struct ASTFileSignature : std::array<uint8_t, 20> { using BaseT = std::array<uint8_t, 20>; static constexpr size_t size = std::tuple_size<BaseT>::value; :
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp')
0 files changed, 0 insertions, 0 deletions