summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-03-22 14:59:46 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-03-22 14:59:46 +0000
commita2d28299bdf03baedd2e4ceb64b800e75e9e18df (patch)
tree877ad87fcf77b76fb7deeb52fc098ddc283a97ff /compiler-rt/test
parentf3599eb6839319f1aca6abe6e9007248235191dc (diff)
downloadbcm5719-llvm-a2d28299bdf03baedd2e4ceb64b800e75e9e18df.tar.gz
bcm5719-llvm-a2d28299bdf03baedd2e4ceb64b800e75e9e18df.zip
[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. llvm-svn: 264058
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/tsan/Darwin/gcd-groups-stress.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/Darwin/gcd-groups-stress.mm b/compiler-rt/test/tsan/Darwin/gcd-groups-stress.mm
index 62a80085ed8..9ed85bdfe82 100644
--- a/compiler-rt/test/tsan/Darwin/gcd-groups-stress.mm
+++ b/compiler-rt/test/tsan/Darwin/gcd-groups-stress.mm
@@ -30,7 +30,7 @@ int main() {
dispatch_async(q, ^{
dispatch_group_leave(g);
});
- dispatch_group_notify_f(g, q, nullptr, &notify_callback);
+ dispatch_group_notify_f(g, q, NULL, &notify_callback);
dispatch_release(g);
}
OpenPOWER on IntegriCloud