diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 13:48:02 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 14:00:38 +0000 |
| commit | 591cd40584300a1d5d33bfaefa4698c02ef56887 (patch) | |
| tree | 52a7cf2662558b0a9864aa7c972fd27da32d3ae7 /clang/unittests/Tooling/Syntax/TreeTest.cpp | |
| parent | 9d905e8ceddda8b103e208ed43a117cb4445e682 (diff) | |
| download | bcm5719-llvm-591cd40584300a1d5d33bfaefa4698c02ef56887.tar.gz bcm5719-llvm-591cd40584300a1d5d33bfaefa4698c02ef56887.zip | |
Fix "pointer is null" static analyzer warnings. NFCI.
Use cast<> instead of cast_or_null<> since the pointers are always dereferenced and cast<> will perform the null assertion for us.
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions

