| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ |
| H A D | cref_2.pass.cpp | 22 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 D | lwg3146.pass.cpp | 43 auto rrj = std::cref(rri); in test() 51 auto rrj = std::cref(rri); in test()
|
| H A D | cref_1.pass.cpp | 23 std::reference_wrapper<const int> r = std::cref(i); in test()
|
| H A D | cref.incomplete.pass.cpp | 31 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 D | assign_bool.pass.cpp | 24 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 D | get_const_rv.fail.cpp | 21 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 D | cxx2a-pointer-to-const-ref-member.cpp | 5 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 D | reserved-identifier-invert.cpp | 58 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 D | reference_wrapper.h | 84 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 D | PR20855_tuple_ref_binding_diagnostics.pass.cpp | 111 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 D | all.pass.cpp | 127 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 D | SparseTensorUtils.h | 202 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 D | just-symbols-cref.s | 6 # RUN: ld.lld --just-symbols=%t1.exe -o %t2.exe --cref | FileCheck %s
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 351 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 D | example-tuple.cpp | 50 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 D | example-bind.cpp | 50 template<typename T> reference_wrapper<const T> cref(const T& t) { in cref() function
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | SparseTensorUtils.cpp | 1763 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 D | MapFile.cpp | 258 if (config->mapFile.empty() && !config->cref) in writeMapAndCref() 274 if (config->cref) in writeMapAndCref()
|
| H A D | Config.h | 169 bool cref; member
|
| H A D | Options.td | 129 def cref: FF<"cref">,
|
| H A D | Driver.cpp | 1051 config->cref = args.hasArg(OPT_cref); in readConfigs()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.ops/ |
| H A D | sort_comp.pass.cpp | 106 c1.sort(std::cref(comp)); in main()
|
| /llvm-project-15.0.7/clang/unittests/libclang/ |
| H A D | TestUtils.h | 80 std::reference_wrapper<const F> FunctorRef = std::cref(TraversalFunctor); in Traverse()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | functional | 69 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 D | Cxx2bIssues.csv | 105 `3146 <https://wg21.link/LWG3146>`__,"Excessive unwrapping in ``std::ref/cref``","October 2021","|C…
|