[libcxx-commits] [PATCH] D137294: [libcxx] Fix the support requirements for `std::function` Objective-C++ test.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 2 15:12:43 PDT 2022


var-const created this revision.
Herald added a project: All.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

The test requires two features to be supported but only checked for one
of them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137294

Files:
  libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm


Index: libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
===================================================================
--- libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
+++ libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
@@ -12,7 +12,7 @@
 
 // This test requires the Blocks runtime, which is (only?) available on Darwin
 // out-of-the-box.
-// REQUIRES: has-fblocks && darwin
+// REQUIRES: has-fblocks && has-fobjc-arc && darwin
 
 // ADDITIONAL_COMPILE_FLAGS: -fblocks -fobjc-arc
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137294.472786.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221102/ef62a455/attachment.bin>


More information about the libcxx-commits mailing list