diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2016-08-16 17:44:11 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2016-08-16 17:44:11 +0000 |
commit | 5cd57177a51abc7b0bfe18f70566572dbccab9a0 (patch) | |
tree | 37e54d241289b11708d39bd977a59b43c3a31e42 /llvm/lib/Support/SourceMgr.cpp | |
parent | c98ef718eab85e44701a23f63c1e69eb6e43cc51 (diff) | |
download | llvm-5cd57177a51abc7b0bfe18f70566572dbccab9a0.zip llvm-5cd57177a51abc7b0bfe18f70566572dbccab9a0.tar.gz llvm-5cd57177a51abc7b0bfe18f70566572dbccab9a0.tar.bz2 |
[ObjC] Warn on unguarded use of partial declaration
This commit adds a traversal of the AST after Sema of a function that diagnoses
unguarded references to declarations that are partially available (based on
availability attributes). This traversal is only done when we would otherwise
emit -Wpartial-availability.
This commit is part of a feature I proposed here:
http://lists.llvm.org/pipermail/cfe-dev/2016-July/049851.html
Differential revision: https://reviews.llvm.org/D23003
llvm-svn: 278826
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions