This is an archive of the discontinued LLVM Phabricator instance.

[clang][DeclPrinter] Fix AST print to suppress output of implicit (non-written) constructor initializers
ClosedPublic

Authored by strimo378 on Jul 28 2023, 4:38 AM.

Details

Summary

DeclPrinter::PrintConstructorInitializers did output non-written constructor initiaizers. In particular, implicit constructor initializers of base classes were output.

Diff Detail

Event Timeline

strimo378 created this revision.Jul 28 2023, 4:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2023, 4:38 AM
strimo378 requested review of this revision.Jul 28 2023, 4:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2023, 4:38 AM

The current output of the test case can be shown here: https://godbolt.org/z/95ToPbqrP

This revision is now accepted and ready to land.Jul 28 2023, 7:31 AM
This revision was landed with ongoing or failed builds.Aug 7 2023, 4:14 PM
This revision was automatically updated to reflect the committed changes.