[clang] [FrontEnd] Use SetVector (NFC) (PR #107743)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 8 02:20:29 PDT 2024


================
@@ -5157,14 +5163,12 @@ void RewriteModernObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) {
     // Unique all "by copy" declarations.
     for (unsigned i = 0; i < BlockDeclRefs.size(); i++)
       if (!BlockDeclRefs[i]->getDecl()->hasAttr<BlocksAttr>()) {
----------------
nikic wrote:

Can drop the braces now.

https://github.com/llvm/llvm-project/pull/107743


More information about the cfe-commits mailing list