| commit | 8693adfd4669a9080d12ca42a4c9ab8661be6062 | [log] [tgz] |
|---|---|---|
| author | Devin Coughlin <dcoughlin@apple.com> | Tue Nov 15 18:40:46 2016 +0000 |
| committer | Devin Coughlin <dcoughlin@apple.com> | Tue Nov 15 18:40:46 2016 +0000 |
| tree | a7bb525e0a4414955189c84de7d7b2849fd7af6f | |
| parent | 34652925cbb0316c632975ae070649db5958a457 [diff] |
[analyzer] Add check for when block is called with too few arguments.
The CallAndMessageChecker has an existing check for when a function pointer
is called with too few arguments. Extend this logic to handle the block
case, as well. While we're at it, do a drive-by grammar correction
("less" --> "fewer") on the diagnostic text.
llvm-svn: 287001