Lines Matching +full:dangling +full:- +full:reference
1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversi…
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -x c++ -Wno-bool-conversion %s
10 …-warning{{Address of stack memory associated with local variable 'str' is still referred to by the… in f0()
15 p = 0; // no-warning in f1()
20 …-warning{{Address of stack memory allocated by call to alloca() on line 19 is still referred to by… in f2()
22 // PR 7383 - previously the stack address checker would crash on this example
36 …ected-warning{{Address of stack memory associated with local variable 'x' is still referred to by … in test_multi_return()
40 …return (intptr_t)&x; // expected-warning{{Address of stack memory associated with local variable '… in returnAsNonLoc()
45 return &x; // no-warning in returnAsBool()
52 } // expected-warning{{Address of stack memory associated with local variable 'x' is still referred… in assignAsNonLoc()
58 } // no-warning in assignAsBool()