Home
last modified time | relevance | path

Searched +full:no +full:- +full:std (Results 1 – 25 of 1184) sorted by relevance

12345678910>>...48

/external/cronet/third_party/libc++/src/test/std/containers/views/views.span/span.cons/
Dspan.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 template<class T, std::size_t extent, size_t otherExtent>
27 std::span<T, extent> createImplicitSpan(std::span<T, otherExtent> s) { in createImplicitSpan()
28 return {s}; // expected-error {{chosen constructor is explicit in copy-initialization}} in createImplicitSpan()
33 // std::span< int> sp; in checkCV()
34 std::span<const int> csp; in checkCV()
35 std::span< volatile int> vsp; in checkCV()
36 std::span<const volatile int> cvsp; in checkCV()
[all …]
Dspan.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 template<class T, std::size_t extent, size_t otherExtent>
27 std::span<T, extent> createImplicitSpan(std::span<T, otherExtent> s) { in createImplicitSpan()
28 return {s}; // expected-error {{chosen constructor is explicit in copy-initialization}} in createImplicitSpan()
33 // std::span< int> sp; in checkCV()
34 std::span<const int> csp; in checkCV()
35 std::span< volatile int> vsp; in checkCV()
36 std::span<const volatile int> cvsp; in checkCV()
[all …]
/external/libcxx/test/std/containers/views/span.cons/
Dspan.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
30 // std::span< int> sp; in checkCV()
31 std::span<const int> csp; in checkCV()
32 std::span< volatile int> vsp; in checkCV()
33 std::span<const volatile int> cvsp; in checkCV()
35 // std::span< int, 0> sp0; in checkCV()
36 std::span<const int, 0> csp0; in checkCV()
37 std::span< volatile int, 0> vsp0; in checkCV()
[all …]
Dcontainer.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
23 // — data(cont) and size(cont) are both well-formed, and
36 // Look ma - I'm a container!
71std::span<int> s1{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()
72std::span<int, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()
73std::span<int> s3{NotAContainerNoData<int>()}; // expected-error {{no matching constructor fo… in main()
74std::span<int, 0> s4{NotAContainerNoData<int>()}; // expected-error {{no matching constructor fo… in main()
75std::span<int> s5{NotAContainerNoSize<int>()}; // expected-error {{no matching constructor fo… in main()
[all …]
Darray.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
42std::span<int, 2> s1(arr); // expected-error {{no matching constructor for initialization of 'st… in main()
47std::span<float> s1(arr); // expected-error {{no matching constructor for initialization of ' in main()
48std::span<float, 3> s2(arr); // expected-error {{no matching constructor for initialization of ' in main()
53std::span< int> s1{ carr}; // expected-error {{no matching constructor for initia… in main()
54std::span< int> s2{ varr}; // expected-error {{no matching constructor for initia… in main()
55std::span< int> s3{cvarr}; // expected-error {{no matching constructor for initia… in main()
56std::span<const int> s4{ varr}; // expected-error {{no matching constructor for initia… in main()
[all …]
Dptr_ptr.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
16 // If extent is not equal to dynamic_extent, then last - first shall be equal to extent.
33 // We can't check that the size doesn't match - because that's a runtime property in main()
34 // std::span<int, 2> s1(arr, arr + 3); in main()
38std::span<float> s1(arr, arr + 3); // expected-error {{no matching constructor for initializa… in main()
39std::span<float, 3> s2(arr, arr + 3); // expected-error {{no matching constructor for initializa… in main()
44std::span< int> s1{ carr, carr + 3}; // expected-error {{no matching constructor fo… in main()
45std::span< int> s2{ varr, varr + 3}; // expected-error {{no matching constructor fo… in main()
[all …]
Dptr_len.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
33 // We can't check that the size doesn't match - because that's a runtime property in main()
34 // std::span<int, 2> s1(arr, 3); in main()
38std::span<float> s1(arr, 3); // expected-error {{no matching constructor for initialization o… in main()
39std::span<float, 3> s2(arr, 3); // expected-error {{no matching constructor for initialization o… in main()
44std::span< int> s1{ carr, 3}; // expected-error {{no matching constructor for initia… in main()
45std::span< int> s2{ varr, 3}; // expected-error {{no matching constructor for initia… in main()
46std::span< int> s3{cvarr, 3}; // expected-error {{no matching constructor for initia… in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/utilities/utility/utility.intcmp/
Dintcmp.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
53 std::cmp_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'}} in test()
54std::cmp_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test()
55std::cmp_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test()
56std::cmp_not_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_not_… in test()
57std::cmp_not_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
58std::cmp_not_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
59 std::cmp_less(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_less'}} in test()
[all …]
Dintcmp.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
53 std::cmp_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'}} in test()
54std::cmp_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test()
55std::cmp_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test()
56std::cmp_not_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_not_… in test()
57std::cmp_not_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
58std::cmp_not_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
59 std::cmp_less(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_less'}} in test()
[all …]
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
DUDT_is_rejected.fail.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
33 std::real(ft); // expected-error {{no matching function}} in main()
34 std::real(dt); // expected-error {{no matching function}} in main()
35 std::real(ldt); // expected-error {{no matching function}} in main()
36 std::real(it); // expected-error {{no matching function}} in main()
37 std::real(uit); // expected-error {{no matching function}} in main()
40 std::imag(ft); // expected-error {{no matching function}} in main()
41 std::imag(dt); // expected-error {{no matching function}} in main()
42 std::imag(ldt); // expected-error {{no matching function}} in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/numerics/complex.number/cmplx.over/
DUDT_is_rejected.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 std::real(ft); // expected-error {{no matching function}} in main()
33 std::real(dt); // expected-error {{no matching function}} in main()
34 std::real(ldt); // expected-error {{no matching function}} in main()
35 std::real(it); // expected-error {{no matching function}} in main()
36 std::real(uit); // expected-error {{no matching function}} in main()
39 std::imag(ft); // expected-error {{no matching function}} in main()
40 std::imag(dt); // expected-error {{no matching function}} in main()
[all …]
DUDT_is_rejected.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 std::real(ft); // expected-error {{no matching function}} in main()
33 std::real(dt); // expected-error {{no matching function}} in main()
34 std::real(ldt); // expected-error {{no matching function}} in main()
35 std::real(it); // expected-error {{no matching function}} in main()
36 std::real(uit); // expected-error {{no matching function}} in main()
39 std::imag(ft); // expected-error {{no matching function}} in main()
40 std::imag(dt); // expected-error {{no matching function}} in main()
[all …]
/external/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
Dempty.fail.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::forward_iterator_tag iterator_category;
37 typedef std::forward_iterator_tag iterator_category;
46 typedef std::forward_iterator_tag iterator_category;
55 typedef std::forward_iterator_tag iterator_category;
64 // typedef std::forward_iterator_tag iterator_category;
70 typedef std::iterator_traits<NotAnIteratorEmpty> T; in main()
71 …typedef T::difference_type DT; // expected-error-re {{no type named 'difference_type' in 'std::_… in main()
72 …typedef T::value_type VT; // expected-error-re {{no type named 'value_type' in 'std::__1::i… in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/iterators/iterator.primitives/iterator.traits/
Dempty.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
27 typedef std::forward_iterator_tag iterator_category;
36 typedef std::forward_iterator_tag iterator_category;
45 typedef std::forward_iterator_tag iterator_category;
54 typedef std::forward_iterator_tag iterator_category;
63 // typedef std::forward_iterator_tag iterator_category;
69 typedef std::iterator_traits<NotAnIteratorEmpty> T; in main()
70 …typedef T::difference_type DT; // expected-error-re {{no type named 'difference_type' in 'std:{{… in main()
[all …]
Dempty.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
27 typedef std::forward_iterator_tag iterator_category;
36 typedef std::forward_iterator_tag iterator_category;
45 typedef std::forward_iterator_tag iterator_category;
54 typedef std::forward_iterator_tag iterator_category;
63 // typedef std::forward_iterator_tag iterator_category;
69 typedef std::iterator_traits<NotAnIteratorEmpty> T; in main()
70 …typedef T::difference_type DT; // expected-error-re {{no type named 'difference_type' in 'std:{{… in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/containers/views/views.span/span.objectrep/
Das_writable_bytes.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29std::as_writable_bytes(std::span<const int>()); // expected-error {{no matching functio… in f()
30std::as_writable_bytes(std::span<const long>()); // expected-error {{no matching functio… in f()
31std::as_writable_bytes(std::span<const double>()); // expected-error {{no matching functio… in f()
32std::as_writable_bytes(std::span<const A>()); // expected-error {{no matching functio… in f()
33std::as_writable_bytes(std::span<const std::string>()); // expected-error {{no matching functio… in f()
35std::as_writable_bytes(std::span<const int, 0>()); // expected-error {{no matching functio… in f()
36std::as_writable_bytes(std::span<const long, 0>()); // expected-error {{no matching functio… in f()
[all …]
/external/libcxx/test/std/containers/views/span.objectrep/
Das_writeable_bytes.fail.cpp1 // -*- C++ -*-
2 //===------------------------------ span ---------------------------------===//
9 //===---------------------------------------------------------------------===//
34std::as_writeable_bytes(std::span<const int>()); // expected-error {{no matching functi… in main()
35std::as_writeable_bytes(std::span<const long>()); // expected-error {{no matching functi… in main()
36std::as_writeable_bytes(std::span<const double>()); // expected-error {{no matching functi… in main()
37std::as_writeable_bytes(std::span<const A>()); // expected-error {{no matching functi… in main()
38std::as_writeable_bytes(std::span<const std::string>()); // expected-error {{no matching functi… in main()
40std::as_writeable_bytes(std::span<const int, 0>()); // expected-error {{no matching functi… in main()
41std::as_writeable_bytes(std::span<const long, 0>()); // expected-error {{no matching functi… in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/containers/associative/multimap/multimap.cons/
Ddeduct.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // class Compare = less<iter-value-type<InputIterator>>,
15 // class Allocator = allocator<iter-value-type<InputIterator>>>
18 // -> multimap<iter-value-type<InputIterator>, Compare, Allocator>;
21 // -> multimap<Key, Compare, Allocator>;
24 // -> multimap<iter-value-type<InputIterator>, less<iter-value-type<InputIterator>>, Allocator>;
27 // -> multimap<Key, less<Key>, Allocator>;
38 using P = std::pair<int, long>;
[all …]
Ddeduct.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // class Compare = less<iter-value-type<InputIterator>>,
15 // class Allocator = allocator<iter-value-type<InputIterator>>>
18 // -> multimap<iter-value-type<InputIterator>, Compare, Allocator>;
21 // -> multimap<Key, Compare, Allocator>;
24 // -> multimap<iter-value-type<InputIterator>, less<iter-value-type<InputIterator>>, Allocator>;
27 // -> multimap<Key, less<Key>, Allocator>;
38 using P = std::pair<int, long>;
[all …]
/external/cronet/third_party/libc++/src/test/std/containers/associative/map/map.cons/
Ddeduct.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // class Compare = less<iter-value-type<InputIterator>>,
15 // class Allocator = allocator<iter-value-type<InputIterator>>>
18 // -> map<iter-value-type<InputIterator>, Compare, Allocator>;
21 // -> map<Key, Compare, Allocator>;
24 // -> map<iter-value-type<InputIterator>, less<iter-value-type<InputIterator>>, Allocator>;
27 // -> map<Key, less<Key>, Allocator>;
38 using P = std::pair<int, long>;
[all …]
Ddeduct.fail.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // class Compare = less<iter-value-type<InputIterator>>,
15 // class Allocator = allocator<iter-value-type<InputIterator>>>
18 // -> map<iter-value-type<InputIterator>, Compare, Allocator>;
21 // -> map<Key, Compare, Allocator>;
24 // -> map<iter-value-type<InputIterator>, less<iter-value-type<InputIterator>>, Allocator>;
27 // -> map<Key, less<Key>, Allocator>;
38 using P = std::pair<int, long>;
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dglob-comp-aa-crash.ll1 ; RUN: llc -mtriple=powerpc64-bgq-linux -mcpu=a2 < %s
2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f…
3 target triple = "powerpc64-bgq-linux"
5std::__1::__assoc_sub_state" = type { %"class.std::__1::__shared_count", %"class.std::__exception_…
6 %"class.std::__1::__shared_count" = type { i32 (...)**, i64 }
7 %"class.std::__exception_ptr::exception_ptr" = type { i8* }
8 %"class.std::__1::mutex" = type { %union.pthread_mutex_t }
12 %"class.std::__1::condition_variable" = type { %union.pthread_cond_t }
15 %"class.std::__1::unique_lock" = type { %"class.std::__1::mutex"*, i8 }
20 define void @_ZNSt3__117__assoc_sub_state4copyEv(%"class.std::__1::__assoc_sub_state"* %this) #0 al…
[all …]
/external/cronet/third_party/libc++/src/test/std/strings/basic.string/string.cons/
Dsubstr_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
37 S substr(std::move(orig), pos); in test_string_pos()
47 if (!std::is_constant_evaluated()) { in test_string_pos()
49 [[maybe_unused]] S substr = S(std::move(orig), pos); in test_string_pos()
51 } catch (const std::out_of_range&) { in test_string_pos()
63 S substr(std::move(orig), pos, alloc); in test_string_pos_alloc()
74 if (!std::is_constant_evaluated()) { in test_string_pos_alloc()
76 [[maybe_unused]] S substr = S(std::move(orig), pos, alloc); in test_string_pos_alloc()
[all …]
/external/cronet/base/containers/
Dspan_nocompile.nc2 // Use of this source code is governed by a BSD-style license that can be
5 // This is a "No Compile Test" suite.
6 // http://dev.chromium.org/developers/testing/no-compile-tests
26 …span<int, 1u> span; // expected-error {{no matching constructor for initialization of 'span<int, …
33 …span<int, 1u> span(array); // expected-error {{no matching constructor for initialization of 'spa…
39 std::array<int, 3> array = {1, 2, 3};
41 …span<int, 4u> span4(span3); // expected-error {{no matching constructor for initialization of 'sp…
47 …span<int, 3u> static_span = dynamic_span; // expected-error-re {{no viable conversion from 'span<…
58 …span<Base*> base_span(derived_span); // expected-error {{no matching constructor for initializati…
66 …span<const int*> const_span(non_const_span); // expected-error {{no matching constructor for init…
[all …]
/external/clang/test/Analysis/diagnostics/
Dimplicit-cxx-std-suppression.cpp1-analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-con…
2-analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-con…
4 // expected-no-diagnostics
6 #include "../Inputs/system-header-simulator-cxx-std-suppression.h"
8 void testList_pop_front(std::list<int> list) { in testList_pop_front()
10 list.pop_front(); // no-warning in testList_pop_front()
14 std::basic_string<uint8_t> v; in testBasicStringSuppression()
15 v.push_back(1); // no-warning in testBasicStringSuppression()
19 std::basic_string<char32_t> v; in testBasicStringSuppression_append()
20 v += 'c'; // no-warning in testBasicStringSuppression_append()
[all …]

12345678910>>...48