| /llvm-project-15.0.7/openmp/runtime/test/api/ |
| H A D | has_openmp.c | 8 int rvalue = 0; in test_has_openmp() local 10 rvalue = 1; in test_has_openmp() 12 return (rvalue); in test_has_openmp()
|
| /llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/ |
| H A D | p4-0x.cpp | 32 void rvalue() &&; // expected-note {{'rvalue' declared here}} 96 …lvalue<X0>().rvalue(); // expected-error {{'this' argument to member function 'rvalue' is an lvalu… in test_diagnostics() 100 xvalue<X0>().rvalue(); in test_diagnostics() 104 prvalue<X0>().rvalue(); in test_diagnostics()
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | NSString-type.mm | 5 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString … 7 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString … 8 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString …
|
| H A D | instantiate-message.mm | 18 …ed-error{{cannot initialize a variable of type 'ClassMethods2 *' with an rvalue of type 'ClassMeth… 40 …error{{cannot initialize a variable of type 'InstanceMethods2 *' with an rvalue of type 'InstanceM…
|
| H A D | objc-boxed-expressions-nsvalue.mm | 100 void rvalue() { function
|
| /llvm-project-15.0.7/libcxx/test/libcxx/debug/containers/ |
| H A D | sequence_container_iterators.pass.cpp | 235 value_type rvalue = makeValueType(3); in InsertIterValue() local 237 EXPECT_DEATH( C2.insert(it1, std::move(rvalue)) ); // wrong container in InsertIterValue() 242 C1.insert(it1_next, std::move(rvalue)); in InsertIterValue() 243 C1.insert(it1, std::move(rvalue)); in InsertIterValue() 247 EXPECT_DEATH( C1.insert(it1_next, std::move(rvalue)) ); // invalidated iterator in InsertIterValue() 248 EXPECT_DEATH( C1.insert(it1, std::move(rvalue)) ); // invalidated iterator in InsertIterValue()
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | null_literal.cl | 12 // expected-error@+2{{cannot initialize a variable of type '__global int *__private' with an rvalue… 19 …cannot initialize a variable of type '__constant int *__private' with an rvalue of type '__global … 31 // expected-error@+4{{cannot initialize a variable of type '__global int *__private' with an rvalue…
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/proto-to-llvm/ |
| H A D | loop_proto_to_llvm.cpp | 125 std::string rvalue = RvalueToString(os, x.rvalue()); in operator <<() local 127 return os << "store i32 " << rvalue << ", i32* " << var_ref << "\n"; in operator <<()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | move-forwarding-reference.rst | 20 (A forwarding reference is an rvalue reference of a type that is a deduced 33 ``T&&`` will always end up being an rvalue reference, no matter what type is 49 that take an rvalue reference argument of a type that is a deduced function
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 205 void emitCopyIntoMemory(RValue rvalue) const; 252 Address materializeRValue(RValue rvalue) const; 1670 if (rvalue.isAggregate()) { in emitCopyIntoMemory() 1674 bool IsVolatile = rvalue.isVolatileQualified() || in emitCopyIntoMemory() 1690 if (rvalue.isScalar()) { in emitCopyIntoMemory() 1703 if (rvalue.isAggregate()) in materializeRValue() 1704 return rvalue.getAggregateAddress(); in materializeRValue() 1709 Atomics.emitCopyIntoMemory(rvalue); in materializeRValue() 2051 assert(!rvalue.isAggregate() || in EmitAtomicStore() 2061 atomics.emitCopyIntoMemory(rvalue); in EmitAtomicStore() [all …]
|
| H A D | CGCall.h | 283 void add(RValue rvalue, QualType type) { push_back(CallArg(rvalue, type)); } in add() argument
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | uniqueptr-reset-release.rst | 15 If ``y`` is already rvalue, ``std::move()`` is not added. ``x`` and ``y`` can
|
| H A D | unconventional-assign-operator.rst | 12 reference, non-const rvalue reference, or from a completely different
|
| /llvm-project-15.0.7/clang/test/SemaHLSL/ |
| H A D | prohibit_reference.hlsl | 6 // expected-warning@-1 {{rvalue references are a C++11 extension}}
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Generic/ |
| H A D | address_space_rvalue.ll | 4 ; This nonsensical example tests that address spaces for rvalue
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/ |
| H A D | cxx_proto.proto | 61 required Rvalue rvalue = 2; field
|
| H A D | cxx_loop_proto.proto | 65 required Rvalue rvalue = 2; field
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | recovery-expr-type.cpp | 104 … expected-error {{cannot initialize a variable of type 'int' with an rvalue of type 'test8::arr'}}
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | objc-boxed-expressions-nsvalue.m | 98 void rvalue(void) { function
|
| H A D | objc-literal-fixit.m | 38 … // cxx-error@-2{{cannot initialize a variable of type 'id' with an rvalue of type 'int'}}
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objcxx0x-lambda-expressions.mm | 14 [&this] {}; // expected-error {{cannot take the address of an rvalue of type 'C *'}} \
|
| /llvm-project-15.0.7/llvm/cmake/modules/ |
| H A D | FindFFI.cmake | 47 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue);
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/proto-to-cxx/ |
| H A D | proto_to_cxx.cpp | 62 return os << x.lvalue() << "=" << x.rvalue() << ";\n"; in operator <<()
|
| H A D | loop_proto_to_cxx.cpp | 112 return os << x.varref() << "=" << x.rvalue() << ";\n"; in operator <<()
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | index.rst | 73 machines (particularly in C++11, which has rvalue references). Breaking 89 particular rvalue references and move-only types) requires changes to
|