commit | 7fb43c17eb2b4102f40a80a355629aacd70589ad | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Sep 01 19:57:52 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Sep 01 19:57:52 2008 +0000 |
tree | f429575b93e6201e8d581b8b468bf2c7e08af8a2 | |
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