aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-10-09 20:36:17 +0000
committerDouglas Gregor <dgregor@apple.com>2015-10-09 20:36:17 +0000
commitd4f2afa23c8b4a26d553c5e5126351f1d7157f93 (patch)
treee18aea9cb828c00fc0d29d09f46213183e679138 /llvm/lib/CodeGen/StackProtector.cpp
parent6ccc8ca6d9715c76eb89f0d338b2a782f1edd0c4 (diff)
downloadllvm-d4f2afa23c8b4a26d553c5e5126351f1d7157f93.zip
llvm-d4f2afa23c8b4a26d553c5e5126351f1d7157f93.tar.gz
llvm-d4f2afa23c8b4a26d553c5e5126351f1d7157f93.tar.bz2
Fix inference of _Nullable for weak Objective-C properties.
The inference of _Nullable for weak Objective-C properties was broken in several ways: * It was back-patching the type information very late in the process of checking the attributes for an Objective-C property, which is just wrong. * It was using ad hoc checks to try to suppress the warning about missing nullability specifiers (-Wnullability-completeness), which didn't actual work in all cases (rdar://problem/22985457) * It was inferring _Nullable even outside of assumes-nonnull regions, which is wrong. Putting the inference of _Nullable for weak Objective-C properties in the same place as all of the other inference logic fixes all of these ills. llvm-svn: 249896
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions