aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2016-08-16 17:44:11 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2016-08-16 17:44:11 +0000
commit5cd57177a51abc7b0bfe18f70566572dbccab9a0 (patch)
tree37e54d241289b11708d39bd977a59b43c3a31e42 /llvm/lib/Support/SourceMgr.cpp
parentc98ef718eab85e44701a23f63c1e69eb6e43cc51 (diff)
downloadllvm-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