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
Can I commit the attached, tiny, innocent additional check?
StmtPrinter_QualifierNull.diff (617 Bytes)