diff options
author | Sam McCall <sam.mccall@gmail.com> | 2017-03-27 09:45:38 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2017-03-27 09:45:38 +0000 |
commit | cf95f24a07aa0dedbee1d7b53cada8b78db0e308 (patch) | |
tree | 0305b444c1e9b4b688c3eccb60e42f1f66ecead4 | |
parent | fa9e36e9c49a9c2c180cdc2d08768ad792f1f571 (diff) | |
download | bcm5719-llvm-cf95f24a07aa0dedbee1d7b53cada8b78db0e308.tar.gz bcm5719-llvm-cf95f24a07aa0dedbee1d7b53cada8b78db0e308.zip |
Add --std=c++11 to tests that #include <atomic>
llvm-svn: 298836
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex0.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex1.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex2.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/tsan/custom_mutex0.cc b/compiler-rt/test/tsan/custom_mutex0.cc index 4079c72a103..998385ca1cf 100644 --- a/compiler-rt/test/tsan/custom_mutex0.cc +++ b/compiler-rt/test/tsan/custom_mutex0.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 --std=c++11 %s -o %t && %run %t 2>&1 | FileCheck %s #include "custom_mutex.h" // Test that custom annoations provide normal mutex synchronization diff --git a/compiler-rt/test/tsan/custom_mutex1.cc b/compiler-rt/test/tsan/custom_mutex1.cc index ec7294ccd4f..06186515f69 100644 --- a/compiler-rt/test/tsan/custom_mutex1.cc +++ b/compiler-rt/test/tsan/custom_mutex1.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 --std=c++11 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s #include "custom_mutex.h" // Test that failed TryLock does not induce parasitic synchronization. diff --git a/compiler-rt/test/tsan/custom_mutex2.cc b/compiler-rt/test/tsan/custom_mutex2.cc index 217b4446672..9329cbc3f43 100644 --- a/compiler-rt/test/tsan/custom_mutex2.cc +++ b/compiler-rt/test/tsan/custom_mutex2.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 --std=c++11 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s #include "custom_mutex.h" // Test that Broadcast does not induce parasitic synchronization. |