rs: silence static analyzer complaints

The static analyzer is unhappy about potential null dereferences from
the result of things like dyn_cast/etc. Looks like the first three are
safe. Not sure of an easy way to silence the last two complaints, but
they seem harmless:

frameworks/compile/slang/slang_rs_check_ast.cpp:71:7: warning: Called
C++ object pointer is null [clang-analyzer-core.CallAndMessage]
frameworks/compile/slang/slang_rs_context.cpp:240:11: warning: Called
C++ object pointer is null [clang-analyzer-core.CallAndMessage]
frameworks/compile/slang/slang_rs_context.cpp:267:11: warning: Called
C++ object pointer is null
[clang-analyzer-core.CallAndMessage]frameworks/compile/slang/slang_rs_export_type.cpp:336:11:
warning: Called C++ object pointer is null
[clang-analyzer-core.CallAndMessage]
frameworks/compile/slang/slang_rs_export_type.cpp:418:14: warning:
Called C++ object pointer is null [clang-analyzer-core.CallAndMessage]

Bug: None
Test: TreeHugger
Change-Id: Ie51d3112a3e57a55819302fa76ad2ad44d602a9d
2 files changed