diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-06-09 23:15:04 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-06-09 23:15:04 +0000 |
commit | 652ec4f595001376fe5a61edae9df42047c907cc (patch) | |
tree | c801b3a139a01de934c77be19f900ae993444ad8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 79b75d3d11119b9c84a06066c6092ac2799728ca (diff) | |
download | llvm-652ec4f595001376fe5a61edae9df42047c907cc.zip llvm-652ec4f595001376fe5a61edae9df42047c907cc.tar.gz llvm-652ec4f595001376fe5a61edae9df42047c907cc.tar.bz2 |
[CFLAA] Handle global/arg attrs more sanely.
Prior to this patch, we used argument/global stratified attributes in
order to note that a value could have come from either dereferencing a
global/arg, or from the assignment from a global/arg.
Now, AttrUnknown is placed on sets when we see a dereference, instead of
the global/arg attributes. This allows us to be more aggressive in the
future when we see global/arg attributes without AttrUnknown.
Patch by Jia Chen.
Differential Revision: http://reviews.llvm.org/D21110
llvm-svn: 272335
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions