aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-02-11 17:27:59 +0000
committerJordan Rose <jordan_rose@apple.com>2014-02-11 17:27:59 +0000
commitc939907a5af701aae3ebae452251520b88060694 (patch)
tree7d98466bb91c98f8b55fe3bdbe7d4bd9f9c75f9d /clang/lib/Frontend/CompilerInvocation.cpp
parent1515a48e1431115b99bec216e29c204847294b14 (diff)
downloadllvm-c939907a5af701aae3ebae452251520b88060694.zip
llvm-c939907a5af701aae3ebae452251520b88060694.tar.gz
llvm-c939907a5af701aae3ebae452251520b88060694.tar.bz2
'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 llvm-svn: 201162
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions