diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-01 19:57:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-01 19:57:52 +0000 |
commit | 7fb43c17eb2b4102f40a80a355629aacd70589ad (patch) | |
tree | f429575b93e6201e8d581b8b468bf2c7e08af8a2 /test/Sema/array-init.c | |
parent | 73419bf6cbf8e5f7a0f9b8855d6531db264ae899 (diff) |
Tidy up sema processing of attribute "nonull":
- warn about nonnull being applied to functions with no pointer arguments
- continue processing argument list in the attribute when we encounter a non-pointer parameter being marked as nonnull
- when no argument list is specified, only mark pointers as nonnull. This fixes PR 2732 and radar 6188814.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-init.c')
0 files changed, 0 insertions, 0 deletions