StmtPrinter: check Qualifier != NULL even for DependentScopeDeclRefExp

Hi,

Currently, StmtPrinter assumes that a DependentScopeDeclRefExpr it
visits has a valid NestedNameSpecifier qualifier. Our artificially
dependent nodes (for introducing dynamic scopes) don't have a
NestedNameSpecifier, but we would like to survive printing the AST
nevertheless.

Can I commit the attached, tiny, innocent additional check?

Cheers, Axel.

StmtPrinter_QualifierNull.diff (617 Bytes)

Yes, this is fine.

  - Doug