Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/reference/
H A Dassign_copy.pass.cpp24 Ref ref2 = vec[1]; in test() local
25 ref2 = ref1; in test()
30 ref1 = ref2; in test()
37 ref1 = ref2; in test()
45 ref1 = std::move(ref2); in test()
52 ref1 = std::move(ref2); in test()
60 ref1 = static_cast<const Ref&>(ref2); in test()
67 ref1 = static_cast<const Ref&>(ref2); in test()
H A Dctor_copy.pass.cpp23 Ref ref2 = ref; in test() local
24 assert(ref == ref2 && ref2); in test()
26 assert(ref == ref2 && !ref2); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
H A Demplace_type_args.pass.cpp94 auto& ref2 = v.emplace<int>(42); in test_basic() local
95 static_assert(std::is_same_v<int&, decltype(ref2)>, ""); in test_basic()
97 assert(&ref2 == &std::get<0>(v)); in test_basic()
109 auto& ref2 = v.emplace<const void *>(&x); in test_basic() local
110 static_assert(std::is_same_v<const void *&, decltype(ref2)>, ""); in test_basic()
112 assert(&ref2 == &std::get<2>(v)); in test_basic()
133 auto& ref2 = v.emplace<const int &>(x); in test_basic() local
134 static_assert(std::is_same_v<const int&, decltype(ref2)>, ""); in test_basic()
136 assert(&ref2 == &std::get<const int &>(v)); in test_basic()
H A Demplace_index_args.pass.cpp94 auto& ref2 = v.emplace<0>(42); in test_basic() local
95 static_assert(std::is_same_v<int&, decltype(ref2)>, ""); in test_basic()
97 assert(&ref2 == &std::get<0>(v)); in test_basic()
109 auto& ref2 = v.emplace<2>(&x); in test_basic() local
110 static_assert(std::is_same_v<const void*&, decltype(ref2)>, ""); in test_basic()
112 assert(&ref2 == &std::get<2>(v)); in test_basic()
133 auto& ref2 = v.emplace<2>(x); in test_basic() local
136 assert(&ref2 == &std::get<2>(v)); in test_basic()
H A Demplace_type_init_list_args.pass.cpp78 auto& ref2 = v.emplace<InitListArg>({1, 2, 3, 4}, 42); in test_basic() local
79 static_assert(std::is_same_v<InitListArg&,decltype(ref2)>, ""); in test_basic()
82 assert(&ref2 == &std::get<InitListArg>(v)); in test_basic()
H A Demplace_index_init_list_args.pass.cpp78 auto& ref2 = v.emplace<2>({1, 2, 3, 4}, 42); in test_basic() local
79 static_assert(std::is_same_v<InitListArg&, decltype(ref2)>, ""); in test_basic()
82 assert(&ref2 == &std::get<2>(v)); in test_basic()
/llvm-project-15.0.7/lldb/test/API/lang/cpp/function_refs/
H A Dmain.cpp13 auto &ref2 = unary<volatile int*>; variable
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dalias-use-list-order.ll6 @alias.ref2 = global i32* getelementptr inbounds (i32, i32* @alias, i64 1)
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Darc-references.mm20 const __autoreleasing id &ref2 = getObject();
32 const __autoreleasing id &ref2 = x;
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
H A Dfunction-types-builtins.lldbinit62 dv ref2
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/
H A Dfunction-types-builtins.cpp195 auto &ref2 = unary<volatile int*>; variable
/llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp5.cpp141 T &ref2 = ref; // expected-error{{drops 'const' qualifier}} in bind() local
/llvm-project-15.0.7/clang/test/FixIt/
H A Dnullability.mm37 extern void * &ref2; // expected-warning {{inferring '_Nonnull' for pointer type within reference i…
/llvm-project-15.0.7/clang/test/CXX/drs/
H A Ddr1xx.cpp306 virtual void ref2() throw(C *);
340 virtual void ref2() throw(D *);
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dconst-init-cxx11.cpp394 extern constexpr int &ref2 = ref;
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DDwarf.def638 HANDLE_DW_FORM(0x12, ref2, 2, DWARF)