commit | 1db5d140b24bd181644135446fdaca75d8396aa4 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Sep 09 01:17:32 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Sep 09 01:17:32 2010 +0000 |
tree | fbb7acd04fb81aa6592413d3f6b9a412feaf28d1 | |
parent | 977a58a8fd16bccfbc11b5c4c70b869fded9f8b9 [diff] |
Relax __attribute_((nonnull)) checking to allow the attribute on functions with no pointer arguments. GCC doesn't warn in this case, and the attribute is trivially satisfied (and benign). Fixes <rdar://problem/8364828>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113464 91177308-0d34-0410-b5e6-96231b3b80d8