Skip to content

Commit a9f73ae

Browse files
committed
[CIR] Fix upstream issue. NFC
- 'PrintCanonicalTypes' from the printing policy is renamed as 'PrintAsCanonical'
1 parent 820a9b7 commit a9f73ae

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)