[compiler-rt] r264058 - [tsan] Change nullptr to NULL in one Darwin test.
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 07:59:46 PDT 2016
Author: kuba.brecka
Date: Tue Mar 22 09:59:46 2016
New Revision: 264058
URL: http://llvm.org/viewvc/llvm-project?rev=264058&view=rev
Log:
[tsan] Change nullptr to NULL in one Darwin test.
Depending on the version of libcxx, nullptr might not be available. Let's use NULL instead.
Modified:
compiler-rt/trunk/test/tsan/Darwin/gcd-groups-stress.mm
Modified: compiler-rt/trunk/test/tsan/Darwin/gcd-groups-stress.mm
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Darwin/gcd-groups-stress.mm?rev=264058&r1=264057&r2=264058&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/Darwin/gcd-groups-stress.mm (original)
+++ compiler-rt/trunk/test/tsan/Darwin/gcd-groups-stress.mm Tue Mar 22 09:59:46 2016
@@ -30,7 +30,7 @@ int main() {
dispatch_async(q, ^{
dispatch_group_leave(g);
});
- dispatch_group_notify_f(g, q, nullptr, ¬ify_callback);
+ dispatch_group_notify_f(g, q, NULL, ¬ify_callback);
dispatch_release(g);
}
More information about the llvm-commits
mailing list