diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-04-26 13:09:28 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-04-26 13:09:28 +0000 |
| commit | 00353a0bf9d23fdd05a0bb3f2639366c971d7f6d (patch) | |
| tree | 149e123155590ae14b676623f6a2ccdb8db7af69 /llvm/lib/CodeGen/UnreachableBlockElim.cpp | |
| parent | e093594074daaa01dba739e085f7b2fa9c5a9c9d (diff) | |
| download | bcm5719-llvm-00353a0bf9d23fdd05a0bb3f2639366c971d7f6d.tar.gz bcm5719-llvm-00353a0bf9d23fdd05a0bb3f2639366c971d7f6d.zip | |
-Wdocumentation should not check the @returns command for Objective-C
function/block pointer properties
The commit r300981 allowed @param/@return commands for function/block
pointer property declarations. This meant that -Wdocumentation started warning
about @return that was used to document properties whose function/block type
returned void. However, prior to that commit, we allowed @return for all
property declarations, because it can be used to document the value that's
returned by the property getter. This commit restores the previous behaviour:
now the @return command can be used to document all properties without warnings.
rdar://24978538
llvm-svn: 301402
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions

