Author: Michael Liao Date: 2025-04-14T19:07:24-04:00 New Revision: a9f73ae4494437c606c2b2e869358b75d8e2d45c
URL: https://github.com/llvm/llvm-project/commit/a9f73ae4494437c606c2b2e869358b75d8e2d45c DIFF: https://github.com/llvm/llvm-project/commit/a9f73ae4494437c606c2b2e869358b75d8e2d45c.diff LOG: [CIR] Fix upstream issue. NFC - 'PrintCanonicalTypes' from the printing policy is renamed as 'PrintAsCanonical' Added: Modified: clang/lib/CIR/CodeGen/CIRGenTypes.cpp Removed: ################################################################################ diff --git a/clang/lib/CIR/CodeGen/CIRGenTypes.cpp b/clang/lib/CIR/CodeGen/CIRGenTypes.cpp index 26350628704b7..f625f83257859 100644 --- a/clang/lib/CIR/CodeGen/CIRGenTypes.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenTypes.cpp @@ -96,7 +96,7 @@ std::string CIRGenTypes::getRecordTypeName(const clang::RecordDecl *recordDecl, PrintingPolicy policy = recordDecl->getASTContext().getPrintingPolicy(); policy.SuppressInlineNamespace = false; policy.AlwaysIncludeTypeForTemplateArgument = true; - policy.PrintCanonicalTypes = true; + policy.PrintAsCanonical = true; policy.SuppressTagKeyword = true; if (recordDecl->getIdentifier()) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits