This is an archive of the discontinued LLVM Phabricator instance.

[AST] Reuse PrintingPolicy from ASTContext
AbandonedPublic

Authored by JOE1994 on Aug 23 2022, 6:41 PM.

Details

Reviewers
None
Summary

No need to create a duplicate PrintingPolicy when we can reuse the
PrintingPolicy from ASTContext.

Diff Detail

Event Timeline

JOE1994 created this revision.Aug 23 2022, 6:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2022, 6:41 PM
JOE1994 requested review of this revision.Aug 23 2022, 6:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2022, 6:41 PM
JOE1994 updated this revision to Diff 455157.Aug 24 2022, 4:13 AM

Add missed out 'const'

JOE1994 abandoned this revision.Aug 24 2022, 2:09 PM