aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-18 22:39:45 -0700
committerGitHub <noreply@github.com>2025-08-18 22:39:45 -0700
commit4831d92005c1332ca4b2a7d7c608071dab20f256 (patch)
tree78b72029f882bb114286d4e19f9443ad582a7bb3 /clang/lib/AST/ByteCode/Program.cpp
parentd82617d2e8b3d97ef0898cb6d2c893f8e7bd01b3 (diff)
downloadllvm-4831d92005c1332ca4b2a7d7c608071dab20f256.zip
llvm-4831d92005c1332ca4b2a7d7c608071dab20f256.tar.gz
llvm-4831d92005c1332ca4b2a7d7c608071dab20f256.tar.bz2
[lld] Replace SmallSet with SmallPtrSet (NFC) (#154263)
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