Test that #pragma diagnoistics does not cause problems.
Less mem leaks.
Handle failure in dynlookup more gracefully (ROOT-6365).
Use the SLoc of the original Expr for better readability (ROOT-6365).
Improve SLoc and output for dynscope errors (more ROOT-6365).