Home
last modified time | relevance | path

Searched refs:rvalue (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/openmp/runtime/test/api/
H A Dhas_openmp.c8 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 Dp4-0x.cpp32 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 DNSString-type.mm5 …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 Dinstantiate-message.mm18 …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 Dobjc-boxed-expressions-nsvalue.mm100 void rvalue() { function
/llvm-project-15.0.7/libcxx/test/libcxx/debug/containers/
H A Dsequence_container_iterators.pass.cpp235 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 Dnull_literal.cl12 // 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 Dloop_proto_to_llvm.cpp125 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 Dmove-forwarding-reference.rst20 (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 DCGAtomic.cpp205 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 DCGCall.h283 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 Duniqueptr-reset-release.rst15 If ``y`` is already rvalue, ``std::move()`` is not added. ``x`` and ``y`` can
H A Dunconventional-assign-operator.rst12 reference, non-const rvalue reference, or from a completely different
/llvm-project-15.0.7/clang/test/SemaHLSL/
H A Dprohibit_reference.hlsl6 // expected-warning@-1 {{rvalue references are a C++11 extension}}
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Daddress_space_rvalue.ll4 ; This nonsensical example tests that address spaces for rvalue
/llvm-project-15.0.7/clang/tools/clang-fuzzer/
H A Dcxx_proto.proto61 required Rvalue rvalue = 2; field
H A Dcxx_loop_proto.proto65 required Rvalue rvalue = 2; field
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Drecovery-expr-type.cpp104 … 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 Dobjc-boxed-expressions-nsvalue.m98 void rvalue(void) { function
H A Dobjc-literal-fixit.m38 … // 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 Dobjcxx0x-lambda-expressions.mm14 [&this] {}; // expected-error {{cannot take the address of an rvalue of type 'C *'}} \
/llvm-project-15.0.7/llvm/cmake/modules/
H A DFindFFI.cmake47 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 Dproto_to_cxx.cpp62 return os << x.lvalue() << "=" << x.rvalue() << ";\n"; in operator <<()
H A Dloop_proto_to_cxx.cpp112 return os << x.varref() << "=" << x.rvalue() << ";\n"; in operator <<()
/llvm-project-15.0.7/libcxx/docs/
H A Dindex.rst73 machines (particularly in C++11, which has rvalue references). Breaking
89 particular rvalue references and move-only types) requires changes to

123