• Home
  • Raw
  • Download

Lines Matching full:variable

7 …mory associated with local variable 's' returned}} expected-warning{{reference to stack memory ass…  in g()
12 int &s2 = s1; // expected-note {{binding reference variable 's2' here}} in g2()
13 …ory associated with local variable 's1' returned}} expected-warning {{reference to stack memory as… in g2()
18 int &s2 = s1; // expected-note {{binding reference variable 's2' here}} in g3()
19 int &s3 = s2; // expected-note {{binding reference variable 's3' here}} in g3()
20 …ory associated with local variable 's1' returned}} expected-warning {{reference to stack memory as… in g3()
32 const int &x = get_value(); // expected-note {{binding reference variable 'x' here}} in get_reference2()
37 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} in get_reference3()
38 const int &x2 = x1; // expected-note {{binding reference variable 'x2' here}} in get_reference3()
50 int &x2 = x1; // expected-note {{binding reference variable 'x2' here}} in f2()
51 …mory associated with local variable 'x1' returned}} expected-warning {{address of stack memory ass… in f2()
56 int *const &x2 = &x1; // expected-note {{binding reference variable 'x2' here}} in f3()
57 …mory associated with local variable 'x1' returned}} expected-warning {{Address of stack memory ass… in f3()
61 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} in f4()
62 const int &x2 = x1; // expected-note {{binding reference variable 'x2' here}} in f4()
72 S &s2 = s1; // expected-note {{binding reference variable 's2' here}} in mf()
73 int &x = s2.x; // expected-note {{binding reference variable 'x' here}} in mf()
74 …mory associated with local variable 's1' returned}} expected-warning {{address of stack memory ass… in mf()
79 void *const &x = &&label; // expected-note {{binding reference variable 'x' here}} in lf()
94 …igned value is garbage or undefined}} expected-note {{binding reference variable 'i' here}} expect… in f5()
95 …return &i; // expected-warning {{address of stack memory associated with local variable 'i' return… in f5()
100 …return p; // expected-warning {{stack memory associated with local variable 'p' returned to caller… in radar13226577()
121 …return obj; // expected-warning{{Address of stack memory associated with local variable 'obj' retu… in returnAsNonLoc()
131 …j)); // expected-warning{{Address of stack memory associated with local variable 'obj' returned to… in returnAsNonLocViaPointer()