aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-18 22:39:53 -0700
committerGitHub <noreply@github.com>2025-08-18 22:39:53 -0700
commit5fdc7478a636ddfdec77e582b36f11c593bb2560 (patch)
treee329bbeb158e2db679bf91834910e8d2444b986e /clang/lib/AST/ByteCode/Program.cpp
parent4831d92005c1332ca4b2a7d7c608071dab20f256 (diff)
downloadllvm-5fdc7478a636ddfdec77e582b36f11c593bb2560.zip
llvm-5fdc7478a636ddfdec77e582b36f11c593bb2560.tar.gz
llvm-5fdc7478a636ddfdec77e582b36f11c593bb2560.tar.bz2
[AArch64] Replace SmallSet with SmallPtrSet (NFC) (#154264)
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 30 instances that rely on this "redirection". Since the redirection doesn't improve readability, this patch replaces SmallSet with SmallPtrSet for pointer element types. I'm planning to remove the redirection eventually.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions