Hi All,
A small patch ti fix PR19195. A call to getExpr from CXXDefaultInitExpr can return null in case we have not yet parsed and attached the in class initializer like in this test case.
Check if getExpr returns null and handle the same to prevent a crash during dynamic cast in StmtVisitor.
It would be great if someone could review the same and let me know if this is good for commit.
Thanks
Karthik Bhat