aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
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
commite72f7154f1cb8a7aa77af6ffa29c74fd5bd4f819 (patch)
tree6fa2e13227bce756d5110d118c22bb1bde391298 /llvm/lib/Support/StringRef.cpp
parenta9e3df7aa0b61fdf6d9f046a1a5edd75b56b6d2d (diff)
downloadllvm-e72f7154f1cb8a7aa77af6ffa29c74fd5bd4f819.zip
llvm-e72f7154f1cb8a7aa77af6ffa29c74fd5bd4f819.tar.gz
llvm-e72f7154f1cb8a7aa77af6ffa29c74fd5bd4f819.tar.bz2
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}} } llvm-svn: 120483
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions