commit | 5cdd31147d450933389a0bc2c1b5648764acf506 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Dec 21 16:01:26 2022 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Jan 13 14:48:50 2023 -0800 |
tree | 4850f24fbea0fbd80883d9e31a6a670997ec3ae8 | |
parent | f41b8fd5d6f637c434dc67b4eff0eaf21b5f4b4f [diff] |
Fix/suppress potential nullptr dereference warnings. These are probably all false positives if the dynamic_cast can never fail. Yet we need to help the static analyzer with the additional checks to suppress the warnings. It might not matter if we return false, or call abort or exit for those unreachable cases. Bug: 263274255 Test: presubmit; make tidy-frameworks-compile_subset Change-Id: Ie29a17672534ce0f64e2e6ccded6781a668449ac