Lines Matching full:address

23 …int (*A)(void *) = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter…  in Decls()
24 …int (*B)(void *) = Foo; //expected-error{{cannot take address of function 'Foo' because parameter … in Decls()
26 …expected-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)… in Decls()
27 …expected-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)… in Decls()
29 …int (*E)(void *) = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls()
30 …expected-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)… in Decls()
32 …int (*G)(void *) = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls()
33 …expected-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)… in Decls()
38 …A = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obj… in Assigns()
39 …A = Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obje… in Assigns()
41 …ompatible type '<overloaded function type>'}} expected-note@6{{candidate address cannot be taken b… in Assigns()
42 …ompatible type '<overloaded function type>'}} expected-note@6{{candidate address cannot be taken b… in Assigns()
44 …A = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns()
45 …mpatible type '<overloaded function type>'}} expected-note@11{{candidate address cannot be taken b… in Assigns()
48 …M = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns()
49 …mpatible type '<overloaded function type>'}} expected-note@18{{candidate address cannot be taken b… in Assigns()
68 …/expected-error{{address of overloaded function 'Foo' does not match required type 'int (void *)'}… in Decls()
69 …uble>; //expected-error{{address of overloaded function 'Foo' does not match required type}} expec… in Decls()
74 …mpatible type '<overloaded function type>'}} expected-note@56{{candidate address cannot be taken b… in Assigns()
75 …uble>; //expected-error{{address of overloaded function 'Foo' does not match required type}} expec… in Assigns()
98 …TakeFn(ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check()
99 …TakeFn(&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check()
100 …TakeFn(*ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check()
101 …TakeFn(*****ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramete… in Check()
102 …TakeFn(*****&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramet… in Check()
104 …void (*P)(int, void *) = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' … in Check()
105 …P = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check()
107 …TakeFn((ObjSize)); //expected-error{{cannot take address of function 'ObjSize' because parameter 2… in Check()
108 …TakeFn((void*)ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parame… in Check()
109 …TakeFn((decltype(P))((void*)ObjSize)); //expected-error{{cannot take address of function 'ObjSize'… in Check()
125 // Directly calling an address-of function expression (e.g. in (&foo)(args...))
126 // doesn't go through regular address-of-overload logic. This caused the above
133 …(&DirectAddrOf)(nullptr); //expected-error{{cannot take address of function 'DirectAddrOf' because… in Test()
134 …); //expected-error{{no matching function}} expected-note@129{{candidate address cannot be taken b… in Test()