SuccessChanges

Summary

  1. DeclCXX - Fix getAs<> null-dereference static analyzer warnings. NFCI. (details)
Commit 9f8c0d15c7f706a124ba29e8f40dc1937cd5bd49 by llvm-dev
DeclCXX - Fix getAs<> null-dereference static analyzer warnings. NFCI.

getAs<> can return null if the cast is invalid, which can lead to null pointer deferences. Use castAs<> instead which will assert that the cast is valid.
The file was modifiedclang/lib/AST/DeclCXX.cpp