aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-30 22:57:32 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-30 22:57:32 +0000
commit26e10bea3d2e9d2979194890e51b98ecea165a96 (patch)
tree8792e217ea88742c9d17724b5c2dbf11e5062837 /lib/CodeGen
parent040afaeea2313dc69fd532995ac88cccdd62da56 (diff)
Follow through references to catch returned stack addresses, local blocks, label addresses or references to temporaries, e.g:
const int& g2() { int s1; int &s2 = s1; // expected-note {{binding reference variable 's2' here}} return s2; // expected-warning {{reference to stack memory associated with local variable 's1' returned}} } git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions