Pārlūkot izejas kodu

[libcxx] Fix c++98 test failures.

Adds XFAIL/UNSUPPORTED lit tags as appropriate. Gets a clean test run
for -std=c++98 on Fedora 20.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271741 91177308-0d34-0410-b5e6-96231b3b80d8
Asiri Rathnayake 9 gadi atpakaļ
vecāks
revīzija
1575e3e813
22 mainītis faili ar 23 papildinājumiem un 23 dzēšanām
  1. 1 1
      test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp
  2. 1 1
      test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp
  3. 2 2
      test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp
  4. 1 1
      test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp
  5. 1 1
      test/std/containers/associative/map/map.ops/count0.pass.cpp
  6. 1 1
      test/std/containers/associative/map/map.ops/equal_range0.pass.cpp
  7. 1 1
      test/std/containers/associative/map/map.ops/find0.pass.cpp
  8. 1 1
      test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp
  9. 1 1
      test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp
  10. 1 1
      test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp
  11. 1 1
      test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp
  12. 1 1
      test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp
  13. 1 1
      test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp
  14. 1 1
      test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
  15. 1 1
      test/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp
  16. 1 1
      test/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp
  17. 1 1
      test/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp
  18. 1 1
      test/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp
  19. 1 1
      test/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp
  20. 1 1
      test/std/utilities/time/time.point/time.point.cast/floor.pass.cpp
  21. 1 1
      test/std/utilities/time/time.point/time.point.cast/round.pass.cpp
  22. 1 1
      test/std/utilities/utility/synopsis.pass.cpp

+ 1 - 1
test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp

@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // <algorithm>
-// XFAIL: c++03, c++11, c++14
+// XFAIL: c++98, c++03, c++11, c++14
 
 // template<class T, class Compare>
 //   const T&

+ 1 - 1
test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp

@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // <algorithm>
-// XFAIL: c++03, c++11, c++14
+// XFAIL: c++98, c++03, c++11, c++14
 
 // template<class T>
 //   const T&

+ 2 - 2
test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 
 // <map>
 
@@ -182,4 +182,4 @@ int main()
         assert(r->first.get()  == 3);  // key
         assert(r->second.get() == 5);  // value
     }
-}
+}

+ 1 - 1
test/std/containers/associative/map/map.modifiers/try.emplace.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/map/map.ops/count0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/map/map.ops/equal_range0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/map/map.ops/find0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/map/map.ops/lower_bound0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/map/map.ops/upper_bound0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/count0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/equal_range0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/find0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/lower_bound0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: c++03, c++11
+// XFAIL: c++98, c++03, c++11
 
 // <map>
 

+ 1 - 1
test/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 
 // <chrono>
 

+ 1 - 1
test/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 
 // <chrono>
 

+ 1 - 1
test/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 // <chrono>
 
 // floor

+ 1 - 1
test/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 // <chrono>
 
 // round

+ 1 - 1
test/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 // <chrono>
 
 // ceil

+ 1 - 1
test/std/utilities/time/time.point/time.point.cast/floor.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 // <chrono>
 
 // floor

+ 1 - 1
test/std/utilities/time/time.point/time.point.cast/round.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03, c++11, c++14
+// UNSUPPORTED: c++98, c++03, c++11, c++14
 // <chrono>
 
 // round

+ 1 - 1
test/std/utilities/utility/synopsis.pass.cpp

@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // <utility>
-// XFAIL: c++03
+// XFAIL: c++98, c++03
 
 // #include <initializer_list>