HomeSort by relevance Sort by last modified time
    Searched full:lvalue (Results 1 - 25 of 554) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Misc/
ast-dump-wchar.cpp 4 // CHECK: StringLiteral {{.*}} lvalue u8"test\000\\\"\t\a\b\234"
7 // CHECK: StringLiteral {{.*}} lvalue u"test\000\\\"\t\a\b\234\u1234"
10 // CHECK: StringLiteral {{.*}} lvalue U"test\000\\\"\t\a\b\234\u1234\U0010FFFF"
13 // CHECK: StringLiteral {{.*}} lvalue L"test\000\\\"\t\a\b\234\x1234\xFFFFFFFF"
diag-aka-types.cpp 30 bar::f(x); // expected-error{{cannot initialize a parameter of type 'Foo::foo *' (aka 'bar::Foo::foo *') with an lvalue of type 'Foo::foo *'}}
60 decltype(void()) (&f1)() = 0; // expected-error{{non-const lvalue reference to type 'decltype(void()) ()' (aka 'void ()') cannot bind to a temporary of type 'int'}}
61 decltype(void()) (&f2)(int) = 0; // expected-error{{non-const lvalue reference to type 'decltype(void()) (int)' (aka 'void (int)') cannot bind to a temporary of type 'int'}}
62 void (&f3)(decltype(1 + 2)) = 0; // expected-error{{non-const lvalue reference to type 'void (decltype(1 + 2))' (aka 'void (int)') cannot bind to a temporary of type 'int'}}
63 decltype(1+2) (&f4)(double, decltype(1 + 2)) = 0; // expected-error{{non-const lvalue reference to type 'decltype(1 + 2) (double, decltype(1 + 2))' (aka 'int (double, int)') cannot bind to a temporary of type 'int'}}
64 auto (&f5)() -> decltype(1+2) = 0; // expected-error{{non-const lvalue reference to type 'auto () -> decltype(1 + 2)' (aka 'auto () -> int') cannot bind to a temporary of type 'int'}}
ast-dump-invalid.cpp 19 // CHECK-NEXT: |-DeclRefExpr {{.*}} <col:13> 'T' lvalue ParmVar {{.*}} 'i' 'T'
20 // CHECK-NEXT: `-DeclRefExpr {{.*}} <col:16> 'T' lvalue ParmVar {{.*}} 'j' 'T'
42 // CHECK-NEXT: `-DeclRefExpr {{.*}} <col:12> 'int' lvalue ParmVar {{.*}} 'i' 'int'
  /external/clang/test/CXX/expr/expr.mptr.oper/
p6-0x.cpp 5 template<typename T> T& lvalue();
12 // expression whose object expression is an lvalue, the program is
18 (lvalue<X>().*pmf)(17);
23 // Lvalue ref-qualifier.
24 (lvalue<X>().*l_pmf)(17);
25 (xvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}}
26 (prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}}
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}}
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
p3-0x.cpp 5 // and the argument is an lvalue, the type "lvalue reference to A" is
15 template<typename T> T& lvalue();
20 X<int&> xi2 = f0(lvalue<int>());
23 X<Y&> xy2 = f0(lvalue<Y>());
32 f1(lvalue<int>()); // expected-error{{no matching function for call to 'f1'}}
35 f1(lvalue<Y>()); // expected-error{{no matching function for call to 'f1'}}
  /external/clang/test/CXX/expr/expr.post/expr.static.cast/
p3-0x.cpp 9 template<typename T> T& lvalue();
15 A &&ar2 = static_cast<A&&>(lvalue<A>());
16 A &&ar3 = static_cast<A&&>(lvalue<B>());
21 const A &&ar8 = static_cast<const A&&>(lvalue<A>());
22 const A &&ar9 = static_cast<const A&&>(lvalue<B>());
  /external/clang/test/CXX/over/over.match/over.match.funcs/
p4-0x.cpp 4 template<typename T> T &lvalue();
41 int &ir1 = lvalue<X0>().f();
44 int &ir2 = lvalue<X0>().ft(1);
50 int &ir1 = lvalue<X0>()();
56 int &ir1 = lvalue<X0>() + prvalue<X0>();
59 int &ir2 = lvalue<X0>() + 1;
65 int &ir1 = lvalue<X0>().h();
68 int &ir2 = lvalue<X0>().h2();
  /external/autotest/client/site_tests/graphics_PiglitBVT/test_scripts/pinetrail/
graphics_PiglitBVT_9.sh 164 run_test "spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-assignment.frag" 0.0 "bin/glslparsertest generated_tests/spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-assignment.frag fail 1.10"
165 run_test "spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-assignment.vert" 0.0 "bin/glslparsertest generated_tests/spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-assignment.vert fail 1.10"
166 run_test "spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-out-parameter.frag" 0.0 "bin/glslparsertest generated_tests/spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-out-parameter.frag fail 1.10"
167 run_test "spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-out-parameter.vert" 0.0 "bin/glslparsertest generated_tests/spec/glsl-1.10/compiler/expressions/postdecrement-float-non-lvalue-for-out-parameter.vert fail 1.10"
168 run_test "spec/glsl-1.10/compiler/expressions/postdecrement-int-non-lvalue-for-assignment.frag" 0.0 "bin/glslparsertest generated_tests/spec/glsl-1.10/compiler/expressions/postdecrement-int-non-lvalue-for-assignment.frag fail 1.10
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-examples.cpp 10 // CHECK-NEXT: ImplicitCastExpr{{.*}}'const double' lvalue <NoOp>
20 // CHECK: ImplicitCastExpr{{.*}}'struct A' lvalue <DerivedToBase (A)>
23 // CHECK: ImplicitCastExpr{{.*}}'const struct A' lvalue <NoOp>
24 // CHECK: ImplicitCastExpr{{.*}}'struct A' lvalue <DerivedToBase (A)>
p5-0x.cpp 7 template<typename T> T& lvalue();
25 // - is an xvalue, class prvalue, array prvalue or function lvalue
40 // function lvalue case
45 // an xvalue, class prvalue, or function lvalue of type "cv3
57 // function lvalue
62 // conversion sequence includes an lvalue-to-rvalue conversion, the
106 double& rd2 = 2.0; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a temporary of type 'double'}}
108 double& rd3 = i; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a value of unrelated type 'int'}}
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'}
    [all...]
p5-var.cpp 50 // First bullet: lvalue references binding to lvalues (the simple cases).
59 Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a value of unrelated type 'Base'}}
64 long &lr = i; // expected-error{{non-const lvalue reference to type 'long' cannot bind to a value of unrelated type 'int'}}
82 Base &br1 = Base(); // expected-error{{non-const lvalue reference to type 'Base' cannot bind to a temporary of type 'Base'}}
83 Base &br2 = Derived(); // expected-error{{non-const lvalue reference to type 'Base' cannot bind to a temporary of type 'Derived'}}
84 const volatile Base &br3 = Base(); // expected-error{{volatile lvalue reference to type 'const volatile Base' cannot bind to a temporary of type 'Base'}}
85 const volatile Base &br4 = Derived(); // expected-error{{volatile lvalue reference to type 'const volatile Base' cannot bind to a temporary of type 'Derived'}}
87 int &ir = 17; // expected-error{{non-const lvalue reference to type 'int' cannot bind to a temporary of type 'int'}}
91 Base &br1 = ur; // expected-error{{non-const lvalue reference to type 'Base' cannot bind to a value of unrelated type 'Unrelated'}}
92 const volatile Base &br2 = ur; // expected-error{{volatile lvalue reference to type 'const volatile Base' cannot bind to a value of unrelated type 'Unrelated'}
    [all...]
  /external/clang/test/CXX/expr/expr.post/expr.const.cast/
p1-0x.cpp 4 // an lvalue reference to object type, the result is an lvalue; if T
11 template<typename T> T& lvalue();
40 unsigned &t0 = const_cast<unsigned&>(a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
41 unsigned &t1 = const_cast<unsigned&>(a.foo(), a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
42 unsigned &t2 = const_cast<unsigned&>(a.pred() ? a.ubf : a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
43 unsigned &t3 = const_cast<unsigned&>(a.pred() ? a.ubf : a.uv); // expected-error {{const_cast from bit-field lvalue to reference type}}
  /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
  /external/clang/test/CodeGenCXX/
builtins.cpp 14 // CHECK: %[[LVALUE:.*]] = phi
15 // CHECK: ret {{.*}}* %[[LVALUE]]
  /external/clang/test/SemaCXX/
statements.cpp 25 __asm__ ("":"+r" (test3)); // expected-error{{invalid lvalue in asm output}}
31 __asm__ ("":"+r" (test4)); // expected-error{{invalid lvalue in asm output}}
block-call.cpp 7 int (*FPL) (int) = FP; // expected-error {{cannot initialize a variable of type 'int (*)(int)' with an lvalue of type 'int (*)()'}}
10 int (^PFR) (int) = IFP; // expected-error {{cannot initialize a variable of type 'int (^)(int)' with an lvalue of type 'int (^)()'}}
25 int * (^IPCC2) () = IPCC; // expected-error {{cannot initialize a variable of type 'int *(^)()' with an lvalue of type 'int *const (^)()'}}
33 int (^IPCC6) (int, char (^CArg) (float)) = IPCC4; // expected-error {{cannot initialize a variable of type 'int (^)(int, char (^)(float))' with an lvalue of type}}
expression-traits.cpp 29 // basic.lval/1 Every expression is either an lvalue or an rvalue.
34 // an lvalue.
39 static_assert(__is_lvalue_expr(expr), "should be an lvalue"); \
43 static_assert(!__is_rvalue_expr(expr), "should be an lvalue"); \
140 // (8.3.2, 8.5.3), ... the expression is an lvalue.
149 // 5.1/2 A string literal is an lvalue; all other
218 // expression. ...The result is an lvalue if the entity is
253 // entity denoted by the identifier. The result is an lvalue if
266 // member. The result is an lvalue if the member is a static
280 // expr.call/10: A function call is an lvalue if and only if th
364 Class lvalue; local
506 Class lvalue; local
    [all...]
decl-init-ref.cpp 25 A& ra = f(); // expected-error {{non-const lvalue reference to type 'A' cannot bind to a temporary of type 'B'}}
29 PR6139 x = {{A()}}; // expected-error{{non-const lvalue reference to type 'A [1]' cannot bind to an initializer list temporary}}
32 PR6139b y = {A()}; // expected-error{{non-const lvalue reference to type 'A [1]' cannot bind to a temporary of type 'A'}}
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
p1.cpp 8 Tuple<int, float> *t2b = t2a; // expected-error{{cannot initialize a variable of type 'Tuple<int, float> *' with an lvalue of type 'Tuple<int, char> *'}}
  /external/clang/test/SemaObjC/
foreach.m 9 for ((id)2 in a); /* expected-error{{selector element is not a valid lvalue}} */
10 for (2 in a); /* expected-error{{selector element is not a valid lvalue}} */
55 for (obj.prop in collection) { /* expected-error {{selector element is not a valid lvalue}} */
  /external/clang/test/SemaTemplate/
class-template-id.cpp 12 return ptr2; // expected-error{{cannot initialize return object of type 'A<int, FLOAT> *' (aka 'A<int, float> *') with an lvalue of type 'const A<int> *'}}
14 return ptr3; // expected-error{{cannot initialize return object of type 'A<int, FLOAT> *' (aka 'A<int, float> *') with an lvalue of type 'A<int, double> *'}}
27 return ptr3; // expected-error{{cannot initialize return object of type 'B<17 + 2> *' with an lvalue of type 'B<19 - 3>}}
  /external/mesa3d/src/gallium/drivers/nv50/codegen/
nv50_ir_build_util.h 48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
57 LValue *mkOp1v(operation, DataType, Value *, Value *);
58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *);
59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *);
61 LValue *mkLoad(DataType, Symbol *, Value *ptr);
217 LValue *
220 LValue *lval = new_LValue(func, f);
225 LValue *
228 LValue *lval = new_LValue(func, f)
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/php/
typemaps.i 43 %typemap(in) TYPE *REFERENCE (TYPE lvalue), TYPE &REFERENCE (TYPE lvalue)
46 lvalue = (*$input)->value.lval ? true : false;
47 $1 = &lvalue;
51 (*$arg)->value.lval = lvalue$argnum ? true : false;
80 $1->value.dval = (double)(lvalue$argnum);
101 %typemap(in) TYPE *REFERENCE (TYPE lvalue), TYPE &REFERENCE (TYPE lvalue)
104 lvalue = (TYPE) (*$input)->value.lval;
105 $1 = &lvalue;
    [all...]
  /external/llvm/test/CodeGen/X86/
inalloca-invoke.ll 15 %temp.lvalue = alloca %Iter
28 call void @begin(%Iter* sret %temp.lvalue)
31 invoke void @plus(%Iter* sret %end, %Iter* %temp.lvalue, i32 4)
  /external/llvm/test/Transforms/DeadStoreElimination/
2011-09-06-EndOfFunction.ll 11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
13 %_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue, i64 0, i32 0

Completed in 507 milliseconds

1 2 3 4 5 6 7 8 91011>>