aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2015-12-03 19:41:24 +0000
committerDevin Coughlin <dcoughlin@apple.com>2015-12-03 19:41:24 +0000
commitdfde655461d47181c7da3b8eb625025079285dae (patch)
treef1e278faae6a3d5598d4f2e8be4971535f328802 /llvm/lib/IR/Module.cpp
parent9ebe30b265318b37657551f7ba9b080389e29be3 (diff)
downloadllvm-dfde655461d47181c7da3b8eb625025079285dae.zip
llvm-dfde655461d47181c7da3b8eb625025079285dae.tar.gz
llvm-dfde655461d47181c7da3b8eb625025079285dae.tar.bz2
[analyzer] Suppress stack address escape on CK_CopyAndAutoreleaseBlockObject.
Don't warn about addresses of stack-allocated blocks escaping if the block region was cast with CK_CopyAndAutoreleaseBlockObject. These casts, which are introduced in the implicit conversion operator for lambda-to-block conversions, cause the block to be copied to the heap -- so the warning is spurious. llvm-svn: 254639
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions