Skip to content

Commit 97d1ad0

Browse files
darkbuckgithub-actions[bot]
authored andcommitted
Automerge: [CIR] Fix upstream issue. NFC
- 'PrintCanonicalTypes' from the printing policy is renamed as 'PrintAsCanonical'
2 parents e8703bd + a9f73ae commit 97d1ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ std::string CIRGenTypes::getRecordTypeName(const clang::RecordDecl *recordDecl,
9696
PrintingPolicy policy = recordDecl->getASTContext().getPrintingPolicy();
9797
policy.SuppressInlineNamespace = false;
9898
policy.AlwaysIncludeTypeForTemplateArgument = true;
99-
policy.PrintCanonicalTypes = true;
99+
policy.PrintAsCanonical = true;
100100
policy.SuppressTagKeyword = true;
101101

102102
if (recordDecl->getIdentifier())

0 commit comments

Comments
 (0)