diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-02-11 17:27:59 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-02-11 17:27:59 +0000 |
| commit | 6bb65c240b2708a390d4d18263db2c9af425a7ab (patch) | |
| tree | 7abae171df25e9675fc60cf523c87d4428441ba0 /lib/Serialization/ModuleManager.cpp | |
| parent | 14c5f7729f3588a69c26e8384c90a4351ebe6422 (diff) | |
| download | clang-6bb65c240b2708a390d4d18263db2c9af425a7ab.tar.gz clang-6bb65c240b2708a390d4d18263db2c9af425a7ab.tar.bz2 clang-6bb65c240b2708a390d4d18263db2c9af425a7ab.tar.xz | |
'nonnull(1)' on a block parameter should apply to the block's argument.
Thanks to r199467, __attribute__((nonnull)) (without arguments) can apply
directly to parameters, instead of being applied to the whole function.
However, the old form of nonnull (with an argument index) could also apply
to the arguments of function and block pointers, and both of these can be
passed as parameters.
Now, if 'nonnull' with an argument is found on a parameter, /and/ the
parameter is a function or block pointer, it is handled the old way.
PR18795
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
