aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-15 23:23:54 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-15 23:23:54 +0000
commitd4adebbbd6903e1b96d37fc772b0213f4fee78f5 (patch)
treeaf29749d5185c190d525bf87d1af77a96cc279d2 /llvm/lib/CodeGen/StackProtector.cpp
parent24d2383a1979dc2365a601dad810b22124a568d2 (diff)
downloadllvm-d4adebbbd6903e1b96d37fc772b0213f4fee78f5.zip
llvm-d4adebbbd6903e1b96d37fc772b0213f4fee78f5.tar.gz
llvm-d4adebbbd6903e1b96d37fc772b0213f4fee78f5.tar.bz2
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. llvm-svn: 75856
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions