/ndk/tests/build/issue41387-uniform-initialized-rvalue/jni/ |
Android.mk | 4 LOCAL_MODULE := issue41387-uniform-initialized-rvalue 5 LOCAL_SRC_FILES := issue41387-uniform-initialized-rvalue.cpp
|
/external/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/ |
p1-0x.cpp | 3 // If T is an lvalue reference type or an rvalue reference to function 4 // type, the result is an lvalue; if T is an rvalue reference to 13 int &&ir1 = reinterpret_cast<int &&>(0); // expected-error {{rvalue to reference type}} 14 int &&ir2 = reinterpret_cast<int &&>('a'); // expected-error {{rvalue to reference type}}
|
/external/clang/test/SemaObjCXX/ |
NSString-type.mm | 5 void (^block)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString *'}} 7 void (^block2)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString *'}} 8 void (^block3)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString *'}}
|
instantiate-message.mm | 18 R *result3 = [ClassMethods method1:arg1]; // expected-error{{cannot initialize a variable of type 'ClassMethods2 *' with an rvalue of type 'ClassMethods *'}} 40 R *result2 = [im method1:arg1]; // expected-error{{cannot initialize a variable of type 'InstanceMethods2 *' with an rvalue of type 'InstanceMethods *'}}
|
/external/clang/test/SemaCXX/ |
member-location.cpp | 7 int A::b() { return a(a((int*)0)); } // expected-error {{cannot initialize a parameter of type 'int *' with an rvalue of type 'float'}}
|
type-formatting.cpp | 8 const T *t = (const X0*)0; // expected-error{{cannot initialize a variable of type 'const X1 *' with an rvalue of type 'const X0 *'}}
|
address-of.cpp | 25 (void)&Enumerator; // expected-error{{cannot take the address of an rvalue of type 'E'}} 30 (void)&N; // expected-error{{cannot take the address of an rvalue of type 'int'}}
|
const-cast.cpp | 45 // expected-warning@-2 {{rvalue references are a C++11 extension}} 56 // Rvalue to reference. 57 char ***&var4 = const_cast<cpppr>(&var2); // expected-error {{const_cast from rvalue to reference type 'cpppr'}} 68 (void)const_cast<int&&>(0); // expected-error {{const_cast from rvalue to reference type 'int &&'}} 70 // expected-warning@-2 {{rvalue references are a C++11 extension}}
|
/external/clang/test/CXX/expr/expr.post/expr.const.cast/ |
p1-0x.cpp | 5 // is an rvalue reference to object type, the result is an xvalue;. 18 int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&&'}} 24 int *&ptr7 = const_cast<int *&>(xvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&'}} 25 int *&ptr8 = const_cast<int *&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&'}} 27 X &ptrA = const_cast<X&>(xvalue<X>()); // expected-error {{const_cast from rvalue to reference type 'X &'}} 28 X &ptrB = const_cast<X&>(prvalue<X>()); // expected-error {{const_cast from rvalue to reference type 'X &'}} 44 unsigned &t4 = const_cast<unsigned&>(a.pred() ? a.ubf : a.sv); // expected-error {{const_cast from rvalue to reference type}}
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
StripedBenchmark.java | 106 long rvalue = 0; local 110 rvalue += implLocal.get(numStripesLocal).hashCode(); 112 return rvalue; 116 long rvalue = 0; local 121 rvalue += stripedLocal.getAt(stripesLocal[(int) (i & mask)]).hashCode(); 123 return rvalue; 127 long rvalue = 0; local 131 rvalue += stripedLocal.bulkGet(bulkGetSetLocal).hashCode(); 133 return rvalue;
|
/external/mesa3d/src/glsl/ |
opt_constant_folding.cpp | 56 virtual void handle_rvalue(ir_rvalue **rvalue); 64 ir_constant_folding_visitor::handle_rvalue(ir_rvalue **rvalue) 66 if (*rvalue == NULL || (*rvalue)->ir_type == ir_type_constant) 69 /* Note that we do rvalue visitoring on leaving. So if an 74 ir_expression *expr = (*rvalue)->as_expression(); 82 ir_constant *constant = (*rvalue)->constant_expression_value(); 84 *rvalue = constant; 87 (*rvalue)->accept(this);
|
lower_noise.cpp | 41 void handle_rvalue(ir_rvalue **rvalue) 43 if (!*rvalue) 46 ir_expression *expr = (*rvalue)->as_expression(); 54 *rvalue = ir_constant::zero(ralloc_parent(expr), expr->type);
|
opt_noop_swizzle.cpp | 47 void handle_rvalue(ir_rvalue **rvalue); 54 ir_noop_swizzle_visitor::handle_rvalue(ir_rvalue **rvalue) 56 if (!*rvalue) 59 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 74 *rvalue = swiz->val;
|
ir_expression_flattening.cpp | 52 void handle_rvalue(ir_rvalue **rvalue); 70 ir_expression_flattening_visitor::handle_rvalue(ir_rvalue **rvalue) 74 ir_rvalue *ir = *rvalue; 89 *rvalue = new(ctx) ir_dereference_variable(var);
|
/external/clang/test/Sema/ |
complex-imag.c | 7 int *d = &__imag a; // expected-error {{cannot take the address of an rvalue of type 'int'}} 21 double *d = &__imag a; // expected-error {{cannot take the address of an rvalue of type 'double'}}
|
expr-address-of.c | 93 int *_dummy0 = &(int*) arr; // expected-error {{cannot take the address of an rvalue}} 94 int *_dummy1 = &(arr + 1); // expected-error {{cannot take the address of an rvalue}} 112 void *dummy0 = &f8(); // expected-error {{cannot take the address of an rvalue of type 'void'}} 115 void *dummy1 = &(1 ? v : f8()); // expected-error {{cannot take the address of an rvalue of type 'void'}} 117 void *dummy2 = &(f8(), v); // expected-error {{cannot take the address of an rvalue of type 'void'}} 119 void *dummy3 = &({ ; }); // expected-error {{cannot take the address of an rvalue of type 'void'}}
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
p6-0x.cpp | 9 // In a .* expression whose object expression is an rvalue, the 29 // Rvalue ref-qualifier. 30 (lvalue<X>().*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &&' can only be called on an rvalue}} 33 (xp->*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &&' can only be called on an rvalue}}
|
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 186 RValue convertAtomicTempToRValue(Address addr, AggValueSlot resultSlot, 189 /// \brief Converts a rvalue to integer value. 190 llvm::Value *convertRValueToInt(RValue RVal) const; 192 RValue ConvertIntToValueOrAtomic(llvm::Value *IntVal, 197 void emitCopyIntoMemory(RValue rvalue) const; 212 RValue EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc, 224 std::pair<RValue, llvm::Value *> EmitAtomicCompareExchange( 225 RValue Expected, RValue Desired [all...] |
/external/libcxx/test/std/utilities/function.objects/func.require/ |
bullet_1_and_2.pass.cpp | 132 // RValue - The method is RValue qualified. 133 // ArgRValue - Call the method with RValue arguments. 135 bool RValue = false, bool ArgRValue = false> 157 Bool<!RValue> NotRValue; 207 typedef Caster<Q_None, RValue> SCast; 220 template <class Sig, int Arity, class CV, bool RValue = false> 221 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, true> {}; 285 TestCase11<R() &&, 0, Q_None, /* RValue */ true>::run(); 286 TestCase11<R() const &&, 0, Q_Const, /* RValue */ true>::run() [all...] |
/external/clang/test/Index/ |
print-type-cxx11.cpp | 8 // CHECK: CXXMethod=f:3:8 (Definition) [type=void () {{.*}}&&] [typekind=FunctionProto] rvalue-ref-qualifier [resulttype=void] [resulttypekind=Void] [isPOD=0]
|
/external/clang/test/CXX/stmt.stmt/stmt.ambig/ |
p1-0x.cpp | 26 T(*g)(double(3)); // expected-error{{cannot initialize a variable of type 'T (*)' with an rvalue of type 'double'}} 38 decltype(T())(*g)(double(3)); // expected-error{{cannot initialize a variable of type 'decltype(T()) (*)' (aka 'T *') with an rvalue of type 'double'}}
|
/external/clang/test/SemaTemplate/ |
temp_arg_nontype_cxx11.cpp | 5 U f() { return &F; } // expected-error{{cannot take the address of an rvalue of type 'int (*)(int)'}} expected-error{{cannot take the address of an rvalue of type 'int *'}}
|
/external/javassist/src/main/javassist/tools/rmi/ |
AppletServer.java | 152 Object rvalue = null; local 157 rvalue = convertRvalue(eo.methods[methodId].invoke(eo.object, 174 out.writeObject(rvalue); 208 private Object convertRvalue(Object rvalue) 211 if (rvalue == null) 214 String classname = rvalue.getClass().getName(); 216 return new RemoteRef(exportObject(null, rvalue), classname); 218 return rvalue;
|
/external/clang/test/CXX/special/class.copy/ |
p11.0x.move.cpp | 133 // The restriction on rvalue reference members applies to only the copy 135 struct RValue { 137 RValue(RValue&&); 139 RValue::RValue(RValue&&) = default;
|
/external/libchrome/base/ |
scoped_generic.h | 87 // Move constructor. Allows initialization from a ScopedGeneric rvalue. 88 ScopedGeneric(ScopedGeneric<T, Traits>&& rvalue) 89 : data_(rvalue.release(), rvalue.get_traits()) { 96 // operator=. Allows assignment from a ScopedGeneric rvalue. 97 ScopedGeneric& operator=(ScopedGeneric<T, Traits>&& rvalue) { 98 reset(rvalue.release());
|