diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-03-22 14:59:46 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-03-22 14:59:46 +0000 |
commit | a2d28299bdf03baedd2e4ceb64b800e75e9e18df (patch) | |
tree | 877ad87fcf77b76fb7deeb52fc098ddc283a97ff /compiler-rt/test | |
parent | f3599eb6839319f1aca6abe6e9007248235191dc (diff) | |
download | bcm5719-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.mm | 2 |
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, ¬ify_callback); + dispatch_group_notify_f(g, q, NULL, ¬ify_callback); dispatch_release(g); } |