[cfe-dev] StmtPrinter: check Qualifier != NULL even for DependentScopeDeclRefExp
Douglas Gregor
dgregor at apple.com
Mon Jan 24 07:25:08 PST 2011
On Jan 24, 2011, at 6:26 AM, Axel Naumann wrote:
> 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?
Yes, this is fine.
- Doug
More information about the cfe-dev
mailing list