]> granicus.if.org Git - clang/commit
__attribute__((nonnull)) can apply to reference-to-pointer
authorDouglas Gregor <dgregor@apple.com>
Wed, 15 Dec 2010 15:41:46 +0000 (15:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 15 Dec 2010 15:41:46 +0000 (15:41 +0000)
commitde43632a5951abf3f357e2f79dcddda4dc6ec8ff
tree4062ae1e036c9e7ae72cf1896c939d6923e0b7ca
parentfb7b36327c4cd14c9454e0e9c26f8c44ba8207c0
__attribute__((nonnull)) can apply to reference-to-pointer
parameters. Fixes <rdar://problem/8769025>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121864 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/attr-nonnull.cpp