/external/clang/test/Modules/ |
namespaces.cpp | 75 N11::consumeFoo(N11::getFoo()); // expected-error{{cannot initialize a parameter of type 'N11::(anonymous namespace)::Foo *' with an rvalue of type 'N11::(anonymous namespace)::Foo *'}} 76 N12::consumeFoo(N12::getFoo()); // expected-error{{cannot initialize a parameter of type 'N12::(anonymous namespace)::Foo *' with an rvalue of type 'N12::(anonymous namespace)::Foo *'}}
|
/external/clang/test/SemaCXX/ |
cxx0x-initializer-references.cpp | 104 B b1 { 0 }; // expected-error {{reference to type 'inner_init::A' could not bind to an rvalue of type 'int'}} 118 F f1 { 0 }; // expected-error {{could not bind to an rvalue of type 'int'}}
|
overload-0x.cpp | 54 // expected-error@-3 {{cannot initialize a variable of type 'double' with an rvalue of type 'void *'}} 89 // expected-error@-3 {{cannot initialize a variable of type 'int' with an rvalue of type 'void'}}
|
copy-initialization.cpp | 66 // expected-warning@-2 {{rvalue references are a C++11 extension}}
|
err_init_conversion_failed.cpp | 59 // expected-error-re@-1{{cannot initialize a member subobject of type 'void (template_test::S::*)(const int &){{( __attribute__\(\(thiscall\)\))?}}' with an rvalue of type 'void (template_test::S::*)(int){{( __attribute__\(\(thiscall\)\))?}}': type mismatch at 1st parameter ('const int &' vs 'int')}}
|
flexible-array-test.cpp | 29 // cannot initialize a parameter of type 'void *' with an rvalue of type 'char (*)[]'
|
addr-of-overloaded-function.cpp | 183 void (*ptr1)(int, int) = &fun; // expected-error {{cannot initialize a variable of type 'void (*)(int, int)' with an rvalue of type 'void (*)(int)': different number of parameters (2 vs 1)}} 189 void (*ptr1)(double) = &fun; // expected-error {{cannot initialize a variable of type 'void (*)(double)' with an rvalue of type 'void (*)(int)': type mismatch at 1st parameter ('double' vs 'int')}} 195 int (*ptr1)(int) = &fun; // expected-error {{cannot initialize a variable of type 'int (*)(int)' with an rvalue of type 'void (*)(int)': different return type ('int' vs 'void')}} 237 void (Qualifiers::*X)() = &Dummy::N; // expected-error-re{{cannot initialize a variable of type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}}' with an rvalue of type 'void (test1::Dummy::*)(){{( __attribute__\(\(thiscall\)\))?}}': different classes ('test1::Qualifiers' vs 'test1::Dummy')}}
|
new-null.cpp | 36 // expected-error@-2 {{cannot initialize return object of type 'void *' with an rvalue of type 'int'}}
|
/external/clang/test/SemaTemplate/ |
cxx1z-fold-expressions.cpp | 41 void *p = (N + ...); // expected-error {{rvalue of type 'int'}} 42 void *q = (N | ...); // expected-error {{rvalue of type 'int'}}
|
instantiate-function-2.cpp | 30 T *x = 1; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of type 'int'}}
|
/external/mesa3d/src/glsl/ |
lower_variable_index_to_cond_assign.cpp | 141 virtual void handle_rvalue(ir_rvalue **rvalue) 143 ir_dereference_variable *const dv = (*rvalue)->as_dereference_variable(); 147 *rvalue = this->value->clone(ralloc_parent(*rvalue), NULL); 157 * Find a variable index dereference of an array in an rvalue tree 187 ir_dereference *rvalue; member in struct:assignment_generator 207 ir_dereference *element = this->rvalue->clone(mem_ctx, NULL); 440 ag.rvalue = orig_base;
|
opt_algebraic.cpp | 56 void handle_rvalue(ir_rvalue **rvalue); 426 ir_algebraic_visitor::handle_rvalue(ir_rvalue **rvalue) 428 if (!*rvalue) 431 ir_expression *expr = (*rvalue)->as_expression(); 435 *rvalue = handle_expression(expr);
|
opt_constant_propagation.cpp | 115 void handle_rvalue(ir_rvalue **rvalue); 135 ir_constant_propagation_visitor::handle_rvalue(ir_rvalue **rvalue) 137 if (this->in_assignee || !*rvalue) 140 const glsl_type *type = (*rvalue)->type; 145 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); 147 swiz = (*rvalue)->as_swizzle(); 213 *rvalue = new(ralloc_parent(deref)) ir_constant(type, &data);
|
/system/tools/aidl/ |
ast_java.cpp | 151 : lvalue(l), rvalue(r), cast(NULL) {} 154 : lvalue(l), rvalue(r), cast(c) {} 162 this->rvalue->Write(to); 214 : lvalue(l), op(o), rvalue(r) {} 220 this->rvalue->Write(to); 278 : lvalue(l), cast(c), rvalue(r) {} 284 if (this->rvalue != NULL) { 289 this->rvalue->Write(to);
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
p3-0x.cpp | 4 // If P is an rvalue reference to a cv-unqualified template parameter
|
/external/clang/test/Parser/ |
objcxx0x-lambda-expressions.mm | 14 [&this] {}; // expected-error {{cannot take the address of an rvalue of type 'C *'}}
|
/external/clang/test/SemaObjC/ |
objc-boxed-expressions-nsvalue.m | 98 void rvalue() {
|
/external/libcxx/test/std/experimental/any/any.nonmembers/any.cast/ |
any_cast_reference.pass.cpp | 145 // Check getting a type by reference from a non-const rvalue 153 // Check getting a type by reference from a const rvalue any. 234 // Check getting Type by value from a non-const rvalue any. 248 // Check getting const Type by value from a non-const rvalue any. 262 // Check getting Type by value from a const rvalue any.
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_vector_splitting.cpp | 211 void handle_rvalue(ir_rvalue **rvalue); 236 ir_vector_splitting_visitor::handle_rvalue(ir_rvalue **rvalue) 238 if (!*rvalue) 241 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 254 *rvalue = new(entry->mem_ctx) ir_dereference_variable(var);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
config.cpp | 59 bool getValue(const char* name, unsigned long& rValue) const; 60 bool getValue(const char* name, unsigned short & rValue) const; 427 bool CNfcConfig::getValue(const char* name, unsigned long& rValue) const 435 rValue = static_cast<unsigned long>(pParam->numValue()); 451 bool CNfcConfig::getValue(const char* name, unsigned short& rValue) const 459 rValue = static_cast<unsigned short>(pParam->numValue());
|
/external/libnfc-nci/src/adaptation/ |
config.cpp | 59 bool getValue(const char* name, unsigned long& rValue) const; 60 bool getValue(const char* name, unsigned short & rValue) const; 442 bool CNfcConfig::getValue(const char* name, unsigned long& rValue) const 450 rValue = static_cast<unsigned long>(pParam->numValue()); 466 bool CNfcConfig::getValue(const char* name, unsigned short& rValue) const 474 rValue = static_cast<unsigned short>(pParam->numValue());
|
/external/clang/test/Sema/ |
varargs-x86-64.c | 58 int *x = &__builtin_va_arg(ap, int); // expected-error {{cannot take the address of an rvalue}}
|
varargs.c | 60 int *x = &__builtin_va_arg(ap, int); // expected-error {{cannot take the address of an rvalue}}
|
/external/clang/test/SemaObjCXX/ |
objc-boxed-expressions-nsvalue.mm | 100 void rvalue() {
|
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
pairs.by.type.pass.cpp | 38 upint p = std::get<0>(std::move(t)); // get rvalue
|