commit | 86978b73fc14a1831ea11e762c335dfc8f85cb33 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <mkuper@google.com> | Tue Sep 20 23:10:31 2016 +0000 |
committer | Michael Kuperstein <mkuper@google.com> | Tue Sep 20 23:10:31 2016 +0000 |
tree | 8bf8efd2f56be42204455f736eff7873941ecfdb | |
parent | 7e15c9e40f6d5fb3a45012e27f396a5c56e0323b [diff] |
[InferAttributes] Don't access parameters that don't exist. Check for the correct number of parameters before querying their type. This fixes PR30455. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282038 91177308-0d34-0410-b5e6-96231b3b80d8