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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 3 14:26:13 PDT 2022


Author: varconst
Date: 2022-11-03T14:25:57-07:00
New Revision: 76c0ee5cb74017546dae5194d1948201be41b1b9

URL: https://github.com/llvm/llvm-project/commit/76c0ee5cb74017546dae5194d1948201be41b1b9
DIFF: https://github.com/llvm/llvm-project/commit/76c0ee5cb74017546dae5194d1948201be41b1b9.diff

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

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

Differential Revision: https://reviews.llvm.org/D137294

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm b/libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
index 186fe22e6e476..c9ace62000be3 100644
--- a/libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
+++ b/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
 


        


More information about the libcxx-commits mailing list