| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/ |
| H A D | swap.pass.cpp | 81 optional<T> opt2; in check_swap() local 85 opt1.swap(opt2); in check_swap() 91 optional<T> opt2; in check_swap() local 96 opt1.swap(opt2); in check_swap() 108 opt1.swap(opt2); in check_swap() 121 opt1.swap(opt2); in check_swap() 144 opt1.swap(opt2); in main() 157 opt1.swap(opt2); in main() 171 opt1.swap(opt2); in main() 186 opt1.swap(opt2); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.specalg/ |
| H A D | swap.pass.cpp | 121 swap(opt1, opt2); in main() 132 swap(opt1, opt2); in main() 144 swap(opt1, opt2); in main() 157 swap(opt1, opt2); in main() 165 optional<X> opt2; in main() local 169 swap(opt1, opt2); in main() 176 optional<X> opt2; in main() local 182 swap(opt1, opt2); in main() 196 swap(opt1, opt2); in main() 308 opt2.emplace(2); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
| H A D | move.pass.cpp | 75 opt = std::move(opt2); in main() 82 opt = std::move(opt2); in main() 86 assert(*opt == *opt2); in main() 91 opt = std::move(opt2); in main() 99 optional<T> opt2; in main() local 101 opt = std::move(opt2); in main() 109 opt = std::move(opt2); in main() 113 assert(*opt == *opt2); in main() 139 optional<X> opt2(X{}); in main() local 145 opt = std::move(opt2); in main() [all …]
|
| H A D | const_optional_U.pass.cpp | 205 constexpr optional<short> opt2; in main() local 206 opt = opt2; in main() 213 opt = opt2; in main() 215 static_assert(*opt2 == 2, ""); in main() 217 assert(*opt == *opt2); in main() 222 opt = opt2; in main() 229 opt = opt2; in main() 231 static_assert(*opt2 == 2, ""); in main() 233 assert(*opt == *opt2); in main() 238 optional<int> opt2(42); in main() local [all …]
|
| H A D | optional_U.pass.cpp | 210 optional<short> opt2; in test() local 211 opt = std::move(opt2); in test() 218 opt = std::move(opt2); in test() 220 assert(*opt2 == 2); in test() 222 assert(*opt == *opt2); in test() 226 optional<short> opt2; in test() local 227 opt = std::move(opt2); in test() 234 opt = std::move(opt2); in test() 236 assert(*opt2 == 2); in test() 280 opt1 = std::move(opt2); in test() [all …]
|
| H A D | copy.pass.cpp | 81 const optional<T> opt2; in main() local 83 opt = opt2; in main() 85 assert(!opt2.has_value()); in main() 91 optional<X> opt2(X{}); in main() local 92 assert(static_cast<bool>(opt2) == true); in main() 96 opt = opt2; in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/optional/optional.object/optional.object.ctor/ |
| H A D | copy.pass.cpp | 46 constexpr optional<T> opt2 = opt; in main() local 47 (void)opt2; in main() 53 constexpr optional<T> opt2 = opt; in main() local 54 (void)opt2; in main()
|
| H A D | move.pass.cpp | 47 constexpr optional<T> opt2 = std::move(opt); in main() local 48 (void)opt2; in main() 54 constexpr optional<T> opt2 = std::move(opt); in main() local 55 (void)opt2; in main()
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | findoptdiff | 63 opt2="${bc2}.opt" 71 opt2="$llvm2/Debug/bin/opt" 79 $opt2 $switches_to_use "$bc2" -o - | $dis2 | $filt2 > "$opt2ll"
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/optional/optional.object/optional.object.assign/ |
| H A D | move.pass.cpp | 51 optional<T> opt2; in test() local 52 opt = std::move(opt2); in test()
|
| H A D | copy.pass.cpp | 54 optional<T> opt2; in test() local 55 opt = opt2; in test()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unchecked-optional-access.cpp | 98 absl::optional<int> opt2) { in multiple_unchecked_accesses() argument 103 opt2.value(); in multiple_unchecked_accesses()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/ |
| H A D | optional_requires_destructible_object.fail.cpp | 30 optional<int&&> opt2; in main() local
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.syn/ |
| H A D | optional_nullopt_t.fail.cpp | 25 optional<nullopt_t &> opt2; // expected-note 1 {{requested here}} in main() local
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | unchecked-optional-access.rst | 142 std::optional<int> opt2 = opt1; 143 use(*opt2);
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-objdump.rst | 153 .. option:: -M, --disassembler-options=<opt1[,opt2,...]>
|