/external/clang/test/CodeGenObjC/ |
encode-test-3.m | 15 char (*c)[2] = &@encode(int); // @encode is an lvalue
|
/external/clang/test/SemaObjCXX/ |
conditional-expr.mm | 30 id<P0> l = x; // expected-error {{cannot initialize a variable of type 'id<P0>' with an lvalue of type 'id<P1>'}} 34 id<P1> l = a; // expected-error {{cannot initialize a variable of type 'id<P1>' with an lvalue of type 'A *'}}
|
instantiate-expr.mm | 23 T c = get_an_id(N)->isa; // expected-error{{cannot initialize a variable of type 'int' with an lvalue of type 'Class'}} 47 T c = ptr->isa; // expected-error{{cannot initialize a variable of type 'int' with an lvalue of type 'Class'}}
|
objc-pointer-conv.mm | 35 [sel Meth : p]; // expected-error {{cannot initialize a parameter of type 'I *' with an lvalue of type 'const I *'}}
|
/external/clang/lib/AST/ |
APValue.cpp | 75 else if (Kind == LValue) { 117 case LValue: 118 OS << "LValue: <todo>"; 152 case APValue::LValue: 153 Out << "LValue: <todo>"; 185 Kind = LValue;
|
ExprClassification.cpp | 57 // C99 6.3.2.1: An lvalue is an expression with an object type or an 105 // C++ [expr.prim.general]p1: A string literal is an lvalue. 113 // C++ [expr.typeid]p1: The result of a typeid expression is an lvalue of... 172 // C++ [expr.sub]p1: The result is an lvalue of type "T". 179 // C++ [expr.prim.general]p3: The result is an lvalue if the entity is a 197 // [...] the result is an lvalue referring to the object or function 220 // lvalue, [...] 234 // Implicit casts are lvalues if they're lvalue casts. Other than that, we 241 // whether the expression is an lvalue. 245 // C1X 6.5.1.1p4: [A generic selection] is an lvalue, a function designator [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.h | [all...] |
CGExprAgg.cpp | 64 /// represents a value lvalue, this method emits the address of the lvalue, 69 void EmitFinalDestCopy(const Expr *E, LValue Src, bool Ignore = false); 140 void EmitInitializationToLValue(Expr *E, LValue Address); 141 void EmitNullInitializationToLValue(LValue Address); 152 /// represents a value lvalue, this method emits the address of the lvalue, 155 LValue LV = CGF.EmitLValue(E); 201 // about the result. C says that an lvalue-to-rvalue conversion is 235 void AggExprEmitter::EmitFinalDestCopy(const Expr *E, LValue Src, bool Ignore) [all...] |
CGExprComplex.cpp | 66 ComplexPairTy EmitLoadOfLValue(LValue LV) { 70 assert(LV.isPropertyRef() && "Unknown LValue type!"); 80 void EmitStoreThroughLValue(ComplexPairTy Val, LValue LV) { 84 assert(LV.isPropertyRef() && "Unknown LValue type!"); 157 LValue LV = CGF.EmitLValue(E->getSubExpr()); 211 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 256 LValue EmitBinAssignLValue(const BinaryOperator *E, 362 LValue LV = CGF.EmitLValue(Op); 363 assert(LV.isPropertyRef() && "Unknown LValue type!"); 579 LValue ComplexExprEmitter: [all...] |
CGDecl.cpp | 481 LValue &lvalue, 483 lvalue.setAddress(CGF.BuildBlockByrefAddress(lvalue.getAddress(), var)); 488 LValue lvalue, 490 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); 494 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D)); 495 EmitStoreThroughLValue(RValue::get(value), lvalue); local 513 LValue tempLV = lvalue [all...] |
/external/clang/test/SemaCXX/ |
references.cpp | 47 double& rd2 = 2.0; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a temporary of type 'double'}} 49 double& rd3 = i; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a value of unrelated type 'int'}} 103 string &s = getInput(); // expected-error{{lvalue reference}}
|
rval-references.cpp | 31 int &&virr3 = virr2; // expected-error {{rvalue reference to type 'int' cannot bind to lvalue of type 'int'}} 33 int &&virr4 = i1; // expected-error {{rvalue reference to type 'int' cannot bind to lvalue of type 'int'}} 51 not_int &ni5 = cnir; // expected-error{{non-const lvalue reference to type 'not_int' cannot bind to a value of unrelated type 'conv_to_not_int_rvalue'}}
|
convert-to-bool.cpp | 52 int& i1 = ecr; // expected-error{{non-const lvalue reference to type 'int' cannot bind to a value of unrelated type 'ExplicitConvToRef'}}
|
elaborated-type-specifier.cpp | 30 x.test_elab2(s4); // expected-error{{cannot initialize a parameter of type 'NS::S4 *' with an lvalue of type 'struct S4 *'}}
|
member-pointers-2.cpp | 9 // We have to override these to get something with an lvalue result.
|
user-defined-conversions.cpp | 33 // Test reference binding via an lvalue conversion function.
|
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 37 UINT4 lvalue; local 65 length = vp->lvalue; 77 lvalue = htonl(vp->lvalue); 78 memcpy(buf, (char *) &lvalue, sizeof(UINT4)); 93 length = vp->lvalue; 133 length = vp->lvalue; 158 length = vp->lvalue; 168 lvalue = htonl (vp->lvalue); [all...] |
radius.c | 570 if (vp->lvalue != PW_FRAMED) { 572 vp->lvalue, rstate.user); 580 if (vp->lvalue != PW_PPP) { 582 vp->lvalue, rstate.user); 589 maxconnect = vp->lvalue; 594 maxoctets = vp->lvalue; 598 maxoctets_dir = ( vp->lvalue > 4 ) ? 0 : vp->lvalue ; 603 rstate.acct_interim_interval = vp->lvalue; 613 remote = vp->lvalue; [all...] |
/external/clang/test/Sema/ |
c89.c | 77 int a = test13a().X[1]; /* expected-warning {{ISO C90 does not allow subscripting non-lvalue array}} */ 78 int b = 1[test13a().X]; /* expected-warning {{ISO C90 does not allow subscripting non-lvalue array}} */
|
asm.c | 9 asm ("foo\n" : "=a" (f())); // expected-error {{invalid lvalue in asm output}} 10 asm ("foo\n" : "=a" (i + 2)); // expected-error {{invalid lvalue in asm output}} 43 asm ("nop" : : "m"(test4(addr))); // expected-error {{invalid lvalue in asm input for constraint 'm'}} 45 asm ("nop" : : "m"(f())); // expected-error {{invalid lvalue in asm input for constraint 'm'}}
|
/external/clang/test/CXX/basic/basic.def.odr/ |
p2-typeid.cpp | 6 // designate an lvalue of polymorphic class type.
|
/external/clang/test/CodeGenCXX/ |
volatile.cpp | 3 // Check that IR gen doesn't try to do an lvalue-to-rvalue conversion
|
/external/clang/test/SemaTemplate/ |
metafun-apply.cpp | 32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'}}
|
/external/kernel-headers/original/linux/ |
percpu.h | 14 /* Must be an lvalue. */
|
/external/srec/srec/Recognizer/src/ |
RecognizerResultImpl.c | 154 LCHAR* lValue; 169 rc = resultImpl->results->get(resultImpl->results, key, (void**) & lValue); 173 actualLen += LSTRLEN(lValue); 204 rc = resultImpl->results->get(resultImpl->results, key, (void **) & lValue); 206 LSTRCAT(value, lValue);
|