Home
last modified time | relevance | path

Searched refs:cref (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/
H A Dcref_2.pass.cpp22 void cref(A) {} in cref() function
29 std::reference_wrapper<const int> r1 = std::cref(i); in test()
30 std::reference_wrapper<const int> r2 = std::cref(r1); in test()
35 std::reference_wrapper<const adl::A> a1 = std::cref(a); in test()
36 std::reference_wrapper<const adl::A> a2 = std::cref(a1); in test()
H A Dlwg3146.pass.cpp43 auto rrj = std::cref(rri); in test()
51 auto rrj = std::cref(rri); in test()
H A Dcref_1.pass.cpp23 std::reference_wrapper<const int> r = std::cref(i); in test()
H A Dcref.incomplete.pass.cpp31 std::reference_wrapper<Foo const> ref = std::cref(foo); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/reference/
H A Dassign_bool.pass.cpp24 const Ref cref = vec[0]; in test() local
34 assert(cref); in test()
37 cref = false; in test()
40 cref = true; in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
H A Dget_const_rv.fail.cpp21 template <class T> void cref(T const&) {} in cref() function
22 template <class T> void cref(T const&&) = delete;
31 cref(std::get<0>(tup4())); // expected-error {{call to deleted function 'cref'}} in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx2a-pointer-to-const-ref-member.cpp5 void cref() const& {} in cref() function
11 X{}.cref(); // expected-no-error in test()
15 (X{}.*&X::cref)(); // expected-no-error in test()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dreserved-identifier-invert.cpp58 cref(const Up &u) noexcept { in cref() function
66 cref(reference_wrapper<const _Tp> __t) noexcept { in cref() function
67 return cref(__t.get()); in cref()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dreference_wrapper.h84 cref(const _Tp& __t) _NOEXCEPT in cref() function
92 cref(reference_wrapper<_Tp> __t) _NOEXCEPT in cref() function
98 template <class _Tp> void cref(const _Tp&&) = delete;
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A DPR20855_tuple_ref_binding_diagnostics.pass.cpp111 std::tuple<int const&> t2(std::cref(x)); in allocator_tests()
115 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests()
120 auto cr = std::cref(x); in allocator_tests()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.all/
H A Dall.pass.cpp127 auto cref = std::views::all(std::as_const(range)); in test() local
128 ASSERT_SAME_TYPE(decltype(cref), std::ranges::ref_view<const Range>); in test()
129 assert(std::ranges::begin(cref) == globalBuff + 2); in test()
130 assert(std::ranges::end(cref) == globalBuff + 8); in test()
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DSparseTensorUtils.h202 void *tensor, StridedMemRefType<index_type, 1> *cref, \
210 void *tensor, StridedMemRefType<index_type, 1> *cref, \
/llvm-project-15.0.7/lld/test/ELF/
H A Djust-symbols-cref.s6 # RUN: ld.lld --just-symbols=%t1.exe -o %t2.exe --cref | FileCheck %s
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp351 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
359 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
364 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind()
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-tuple.cpp50 template<typename T> reference_wrapper<const T> cref(const T& t) { in cref() function
139 const tuple<int, float&, const double&> *t3p = addr(make_tuple(i, ref(f), cref(d))); in test_creation_functions()
H A Dexample-bind.cpp50 template<typename T> reference_wrapper<const T> cref(const T& t) { in cref() function
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DSparseTensorUtils.cpp1763 StridedMemRefType<index_type, 1> *cref, \
1765 assert(tensor &&cref &&vref); \
1766 assert(cref->strides[0] == 1); \
1767 index_type *cursor = cref->data + cref->offset; \
1777 void *tensor, StridedMemRefType<index_type, 1> *cref, \
1780 assert(tensor &&cref &&vref &&fref &&aref); \
1781 assert(cref->strides[0] == 1); \
1786 index_type *cursor = cref->data + cref->offset; \
/llvm-project-15.0.7/lld/ELF/
H A DMapFile.cpp258 if (config->mapFile.empty() && !config->cref) in writeMapAndCref()
274 if (config->cref) in writeMapAndCref()
H A DConfig.h169 bool cref; member
H A DOptions.td129 def cref: FF<"cref">,
H A DDriver.cpp1051 config->cref = args.hasArg(OPT_cref); in readConfigs()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.ops/
H A Dsort_comp.pass.cpp106 c1.sort(std::cref(comp)); in main()
/llvm-project-15.0.7/clang/unittests/libclang/
H A DTestUtils.h80 std::reference_wrapper<const F> FunctorRef = std::cref(TraversalFunctor); in Traverse()
/llvm-project-15.0.7/libcxx/include/
H A Dfunctional69 template <class T> reference_wrapper<const T> cref(const T& t) noexcept;
70 template <class T> void cref(const T&& t) = delete;
71 template <class T> reference_wrapper<const T> cref(reference_wrapper<T> t) noexcept;
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx2bIssues.csv105 `3146 <https://wg21.link/LWG3146>`__,"Excessive unwrapping in ``std::ref/cref``","October 2021","|C…

12