commit | e1138b8165f43da9921b5545b4958431ba7c7195 | [log] [tgz] |
---|---|---|
author | Artem Dergachev <artem.dergachev@gmail.com> | Sat Dec 15 02:13:26 2018 |
committer | Artem Dergachev <artem.dergachev@gmail.com> | Sat Dec 15 02:13:26 2018 |
tree | fd4d726de5994610f524e3b38ef76ee685ed7509 | |
parent | 2b29b6937bcb5f43b5572b70837a6374b43927c5 [diff] |
[analyzer] Fix unknown block calls to have zero parameters. Right now they report to have one parameter with null decl, because initializing an ArrayRef of pointers with a nullptr yields an ArrayRef to an array of one null pointer. Fixes a crash in the OSObject section of RetainCountChecker. Differential Revision: https://reviews.llvm.org/D55671 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349229 91177308-0d34-0410-b5e6-96231b3b80d8