diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-10 17:40:34 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-10 17:41:26 +0000 |
| commit | fd8ded99fe6e9fcae2c98ccad25d6562c5fa8a14 (patch) | |
| tree | 83be5542ca6498f4ee9373756f014179bc9bc91f /llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | |
| parent | dfed052fb3ecef53bf01612ec3fc7df73c2134b7 (diff) | |
| download | bcm5719-llvm-fd8ded99fe6e9fcae2c98ccad25d6562c5fa8a14.tar.gz bcm5719-llvm-fd8ded99fe6e9fcae2c98ccad25d6562c5fa8a14.zip | |
Fix "pointer is null" static analyzer warning. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced immediately below and castAs will perform the null assertion for us.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions

