commit | c94084c7cd81c9d17f74e666a3b7d0788c592b62 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Dec 21 15:55:06 2022 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Jan 17 11:34:57 2023 -0800 |
tree | a85f0aebda6323f25951bba64272fccba9821150 | |
parent | 0a7cfd9bd6081e54934e3378781c5e345190c09e [diff] |
Suppress nullptr dereference warnings. It's unclear to me if passing nullptr to NormalizeType can eventually cause a null dereference. Add a call to slangAssert(Context) before using Context just to remove the warning on potential null Context. Bug: 263274255 Test: presubmit; make tidy-frameworks-compile_subset Change-Id: I19010454cc0ea45d66d2b436d16e6759d0c3cdcd