diff options
author | Stephen Hines <srhines@google.com> | 2015-06-16 16:00:26 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-06-16 17:45:03 -0700 |
commit | ddaba0fb7804ee40af648cc24f0b9e51c10a05d7 (patch) | |
tree | b532db9dc65cfa819f8317478e93815b3b0bec57 /tests/P_all_api_16 | |
parent | e23d82b457517d0302ebabefad32118ac7b78023 (diff) | |
download | android_frameworks_compile_slang-ddaba0fb7804ee40af648cc24f0b9e51c10a05d7.tar.gz android_frameworks_compile_slang-ddaba0fb7804ee40af648cc24f0b9e51c10a05d7.tar.bz2 android_frameworks_compile_slang-ddaba0fb7804ee40af648cc24f0b9e51c10a05d7.zip |
Fix potential nullptr dereference.
Bug: 21597073
We must use dyn_cast_or_null<> instead of dyn_cast<>, because we aren't
guaranteed to always be passed a NamedDecl.
Change-Id: I7b00eacc639a688f8e2fdbeea80b87a01372e232
(cherry picked from commit 33ea573b6df7b7fe48d2b68d4c479f33082e3c0d)
Diffstat (limited to 'tests/P_all_api_16')
0 files changed, 0 insertions, 0 deletions