diff options
author | Kazu Hirata <kazu@google.com> | 2025-08-18 07:01:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-18 07:01:29 -0700 |
commit | 07eb7b76928d6873c60859a0339591ed9e0f512a (patch) | |
tree | ddd7aecfa30d297d7ba203fb3816763a27a85a94 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0e52092ff7c1e1a1283fe8c232dd221a170e3fdc (diff) | |
download | llvm-07eb7b76928d6873c60859a0339591ed9e0f512a.zip llvm-07eb7b76928d6873c60859a0339591ed9e0f512a.tar.gz llvm-07eb7b76928d6873c60859a0339591ed9e0f512a.tar.bz2 |
[llvm] Replace SmallSet with SmallPtrSet (NFC) (#154068)
This patch replaces SmallSet<T *, N> with SmallPtrSet<T *, N>. Note
that SmallSet.h "redirects" SmallSet to SmallPtrSet for pointer
element types:
template <typename PointeeType, unsigned N>
class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N>
{};
We only have 140 instances that rely on this "redirection", with the
vast majority of them under llvm/. Since relying on the redirection
doesn't improve readability, this patch replaces SmallSet with
SmallPtrSet for pointer element types.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions