[compiler-rt] r298836 - Add --std=c++11 to tests that #include <atomic>
Sam McCall via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 02:45:39 PDT 2017
Author: sammccall
Date: Mon Mar 27 04:45:38 2017
New Revision: 298836
URL: http://llvm.org/viewvc/llvm-project?rev=298836&view=rev
Log:
Add --std=c++11 to tests that #include <atomic>
Modified:
compiler-rt/trunk/test/tsan/custom_mutex0.cc
compiler-rt/trunk/test/tsan/custom_mutex1.cc
compiler-rt/trunk/test/tsan/custom_mutex2.cc
Modified: compiler-rt/trunk/test/tsan/custom_mutex0.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/custom_mutex0.cc?rev=298836&r1=298835&r2=298836&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/custom_mutex0.cc (original)
+++ compiler-rt/trunk/test/tsan/custom_mutex0.cc Mon Mar 27 04:45:38 2017
@@ -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
Modified: compiler-rt/trunk/test/tsan/custom_mutex1.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/custom_mutex1.cc?rev=298836&r1=298835&r2=298836&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/custom_mutex1.cc (original)
+++ compiler-rt/trunk/test/tsan/custom_mutex1.cc Mon Mar 27 04:45:38 2017
@@ -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.
Modified: compiler-rt/trunk/test/tsan/custom_mutex2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/custom_mutex2.cc?rev=298836&r1=298835&r2=298836&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/custom_mutex2.cc (original)
+++ compiler-rt/trunk/test/tsan/custom_mutex2.cc Mon Mar 27 04:45:38 2017
@@ -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.
More information about the llvm-commits
mailing list