/external/clang/test/SemaCXX/ |
dynamic-cast.cpp | 40 // rvalue -> lvalue 41 (void)dynamic_cast<A&>(A()); // expected-error {{dynamic_cast from rvalue to reference type 'A &'}}
|
cv-unqual-rvalues.cpp | 3 // PR7463: Make sure that when we have an rvalue, it does not have
|
decl-init-ref.cpp | 21 const int& ri = (void)0; // expected-error {{reference to type 'const int' could not bind to an rvalue of type 'void'}}
|
vtable-instantiation.cpp | 29 return 1; // expected-error{{cannot initialize return object of type 'int *' with an rvalue of type 'int'}}
|
/external/clang/test/SemaTemplate/ |
address-spaces.cpp | 53 T *x = 1; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(1))) int *' with an rvalue of type 'int'}} \ 54 // expected-error{{cannot initialize a variable of type '__attribute__((address_space(3))) int *' with an rvalue of type 'int'}}
|
instantiate-non-dependent-types.cpp | 5 static void member() { T* x = 1; } // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of type 'int'}}
|
typename-specifier-2.cpp | 21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'int *'}}
|
/external/mesa3d/src/glsl/ |
ir_rvalue_visitor.h | 30 * a pointer to each rvalue in the tree. 45 virtual void handle_rvalue(ir_rvalue **rvalue) = 0;
|
opt_function_inlining.cpp | 297 void replace_rvalue(ir_rvalue **rvalue); 313 ir_sampler_replacement_visitor::replace_rvalue(ir_rvalue **rvalue) 315 if (!*rvalue) 318 ir_dereference *deref = (*rvalue)->as_dereference(); 324 *rvalue = deref;
|
opt_structure_splitting.cpp | 202 void handle_rvalue(ir_rvalue **rvalue); 253 ir_structure_splitting_visitor::handle_rvalue(ir_rvalue **rvalue) 255 if (!*rvalue) 258 ir_dereference *deref = (*rvalue)->as_dereference(); 264 *rvalue = deref;
|
opt_array_splitting.cpp | 258 void handle_rvalue(ir_rvalue **rvalue); 317 ir_array_splitting_visitor::handle_rvalue(ir_rvalue **rvalue) 319 if (!*rvalue) 322 ir_dereference *deref = (*rvalue)->as_dereference(); 328 *rvalue = deref; 334 /* The normal rvalue visitor skips the LHS of assignments, but we
|
opt_tree_grafting.cpp | 83 bool do_graft(ir_rvalue **rvalue); 119 ir_tree_grafting_visitor::do_graft(ir_rvalue **rvalue) 121 if (!*rvalue) 124 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); 134 (*rvalue)->print(); 139 *rvalue = this->graft_assign->rhs;
|
/external/clang/lib/CodeGen/ |
CGObjC.cpp | 34 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, 36 RValue Result); 89 Args.add(RValue::get(BitCast.getPointer()), ArgQT); 101 Args.add(RValue::get(Cast), EncodingQT); 106 RValue result = Runtime.GenerateMessageSend( 154 EmitStoreThroughLValue(RValue::get(value), LV, true); 165 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); 173 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); 186 Args.add(RValue::get(Objects.getPointer()), ArgQT); 190 Args.add(RValue::get(Keys.getPointer()), ArgQT) [all...] |
CGValue.h | 34 /// RValue - This trivial value class is used to represent the result of an 38 class RValue { 80 static RValue getIgnored() { 85 static RValue get(llvm::Value *V) { 86 RValue ER; 92 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { 93 RValue ER; 100 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { 106 static RValue getAggregate(Address addr, bool isVolatile = false) { 107 RValue ER [all...] |
CodeGenFunction.h | 824 const RValue &rv) { 887 RValue rvalue) 888 : CGF(CGF), Data(OpaqueValueMappingData::bind(CGF, opaqueValue, rvalue)) { [all...] |
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-cxx0x-no-extra-copy.cpp | 4 // reference to a reference-compatible rvalue, since we are allowed to
|
p5-0x.cpp | 4 // rules for rvalue references. 60 // In the second case, if the reference is an rvalue reference and 62 // conversion sequence includes an lvalue-to-rvalue conversion, the 129 double&& rrd2 = d; // expected-error{{rvalue reference to type 'double' cannot bind to lvalue of type 'double'}} 199 X &&f0(X &x) { return x; } // expected-error{{rvalue reference to type 'rdar13278115::X' cannot bind to lvalue of type 'rdar13278115::X'}} 200 X &&f1(Y &y) { return y; } // expected-error{{rvalue reference to type 'rdar13278115::X' cannot bind to lvalue of type 'rdar13278115::Y'}} 201 const X &&f2(Y &y) { return y; } // expected-error{{rvalue reference to type 'const rdar13278115::X' cannot bind to lvalue of type 'rdar13278115::Y'}}
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.mptr/ |
p3.cpp | 19 int A::*ip = &A::s; // expected-error {{cannot initialize a variable of type 'int A::*' with an rvalue of type 'int *'}}
|
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p3-0x.cpp | 4 // A glvalue of type "cv1 T1" can be cast to type "rvalue reference to
|
/external/clang/test/CodeGenCXX/ |
volatile.cpp | 3 // Check that IR gen doesn't try to do an lvalue-to-rvalue conversion
|
/external/clang/test/Parser/ |
cxx-reference.cpp | 25 // expected-warning@-2 {{rvalue references are a C++11 extension}}
|
cxx0x-in-cxx98.cpp | 6 void f(Args &&...) &; // expected-warning{{rvalue references are a C++11 extension}} \
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer_deleter04.fail.cpp | 32 std::unique_ptr<int[], const Deleter&> s(p, Deleter()); // expected-error@memory:* {{static_assert failed "rvalue deleter bound to reference"}}
|
/external/javassist/src/main/javassist/tools/rmi/ |
ObjectImporter.java | 205 Object rvalue; local 241 rvalue = null; 244 rvalue = din.readObject(); 252 if (rvalue instanceof RemoteRef) { 253 RemoteRef ref = (RemoteRef)rvalue; 254 rvalue = createProxy(ref.oid, ref.classname); 268 return rvalue;
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-crx.c | 436 bfd_vma offset, bfd_vma Rvalue, bfd_vma addend, 467 Rvalue -= 1; 479 Rvalue = 0; 488 Rvalue -= (input_section->output_section->vma 491 Rvalue -= offset; 495 Rvalue += addend; 499 check = Rvalue >> howto->rightshift; 513 if (howto->rightshift && (bfd_signed_vma) Rvalue < 0) 527 Rvalue >>= (bfd_vma) howto->rightshift; 530 Rvalue &= howto->dst_mask [all...] |