[libcxx] r193963 - Better inline marking for __does_policy_contain. Thanks to Chongyu Zhu for the catch

Marshall Clow mclow.lists at gmail.com
Sun Nov 3 14:06:53 PST 2013


Author: marshall
Date: Sun Nov  3 16:06:53 2013
New Revision: 193963

URL: http://llvm.org/viewvc/llvm-project?rev=193963&view=rev
Log:
Better inline marking for __does_policy_contain. Thanks to Chongyu Zhu for the catch

Modified:
    libcxx/trunk/include/future

Modified: libcxx/trunk/include/future
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/future?rev=193963&r1=193962&r2=193963&view=diff
==============================================================================
--- libcxx/trunk/include/future (original)
+++ libcxx/trunk/include/future Sun Nov  3 16:06:53 2013
@@ -2331,7 +2331,7 @@ private:
     }
 };
 
-inline bool __does_policy_contain(launch __policy, launch __value )
+inline _LIBCPP_INLINE_VISIBILITY bool __does_policy_contain(launch __policy, launch __value )
 { return (int(__policy) & int(__value)) != 0; }
 
 template <class _Fp, class... _Args>





More information about the cfe-commits mailing list