diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-15 23:23:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-15 23:23:54 +0000 |
commit | dbfe99ef39163fd3574332673ee175c2bb6ef3ca (patch) | |
tree | b69f7416ca0515e97b6528b29dccea1fe73a067d /lib/Analysis/RegionStore.cpp | |
parent | 7b6248766dda6eb4c410d58db25a8dd2824f78cc (diff) |
Handle some more fallout with the conversion of using PointerType for
Objective-C pointers to using ObjCObjectPointerType.
Now the checking for 'attribute ((nonnull))' in Sema doesn't emit an error when
trying to apply that attribute to a parameter that is an Objective-C pointer
(this is a regression).
To prevent this regression from occuring in the future, the 'nonnull.c' test was
moved to test/SemaObjC and renamed 'nonnull.m'. I also enhanced the tests to
show that function calls involved a NULL Objective-C pointer constant does not
trigger a warning. This is consistent with GCC, but should likely be fixed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
0 files changed, 0 insertions, 0 deletions