diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-02-13 23:10:51 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-02-13 23:10:51 +0000 |
commit | 4f74216da08f8ae1947a858dbb0c4912f21141d4 (patch) | |
tree | aef84f1bfcc11be8204046f3ca79ad10df264115 /clang/lib/Parse/ParseDecl.cpp | |
parent | e1958a083a78f33566fd2b40838c10864807b9e2 (diff) | |
download | bcm5719-llvm-4f74216da08f8ae1947a858dbb0c4912f21141d4.tar.gz bcm5719-llvm-4f74216da08f8ae1947a858dbb0c4912f21141d4.zip |
[FunctionAttrs] try to extend nonnull-ness of arguments from a callsite back to its parent function
As discussed here:
http://lists.llvm.org/pipermail/llvm-dev/2016-December/108182.html
...we should be able to propagate 'nonnull' info from a callsite back to its parent.
The original motivation for this patch is our botched optimization of "dyn_cast" (PR28430),
but this won't solve that problem.
The transform is currently disabled by default while we wait for clang to work-around
potential security problems:
http://lists.llvm.org/pipermail/cfe-dev/2017-January/052066.html
Differential Revision: https://reviews.llvm.org/D27855
llvm-svn: 294998
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions