Files
clang-p2996/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
Kazu Hirata fda01437af [Rewrite] Use SmallSetVector (NFC) (#109746)
We can combine:

  SmallVector<ValueDecl *, 8> BlockByCopyDecls;
  llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet;

into:

  llvm::SmallSetVector<ValueDecl *, 8> BlockByCopyDecls;

Likewise, we can combine:

  SmallVector<ValueDecl *, 8> BlockByRefDecls;
  llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet;

into:

  llvm::SmallSetVector<ValueDecl *, 8> BlockByRefDecls;
2024-09-24 08:33:24 -07:00

223 KiB