diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-04-26 14:20:02 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-04-26 14:20:02 +0000 |
commit | 28559ceecea1e4506fb1afcd19f871c887c5afb7 (patch) | |
tree | 11fdaa7ce21956f198f2092b7485c878ce703065 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | e2ec05a62a4d14918d828294b219a909dc07bcb5 (diff) | |
download | llvm-28559ceecea1e4506fb1afcd19f871c887c5afb7.zip llvm-28559ceecea1e4506fb1afcd19f871c887c5afb7.tar.gz llvm-28559ceecea1e4506fb1afcd19f871c887c5afb7.tar.bz2 |
-Wunguarded-availability should support if (@available) checks in top-level
blocks and lambdas
Prior to this commit Clang emitted the old "partial availability" warning for
expressions that referred to declarations that were not yet introduced in
blocks and lambdas that were not in a function/method. This commit ensures that
top-level blocks and lambdas use the new unguarded availability checks.
rdar://31835952
llvm-svn: 301409
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions