From 62a3b054b97d6c5e8e633840391caa72bdcd0bda Mon Sep 17 00:00:00 2001 From: Ryosuke Niwa Date: Fri, 24 Oct 2025 00:49:07 -0700 Subject: [PATCH] Benign code change to generate toolchain. --- lib/ClangImporter/ImportDecl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ClangImporter/ImportDecl.cpp b/lib/ClangImporter/ImportDecl.cpp index 044ab04cc65a2..4dde0749c3c00 100644 --- a/lib/ClangImporter/ImportDecl.cpp +++ b/lib/ClangImporter/ImportDecl.cpp @@ -200,7 +200,6 @@ importer::ReturnOwnershipInfo::ReturnOwnershipInfo( const clang::NamedDecl *decl) { if (!decl->hasAttrs()) return; - for (const auto *attr : decl->getAttrs()) { if (const auto *swiftAttr = llvm::dyn_cast(attr)) { if (swiftAttr->getAttribute() == "returns_unretained") {