Skip to content

Commit f5b1b06

Browse files
committed
[CIR] Temporary fix for printName switching to take a PrintingPolicy
1 parent 60cadd5 commit f5b1b06

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
@@ -52,7 +52,7 @@ std::string CIRGenTypes::getRecordTypeName(const clang::RecordDecl *recordDecl,
5252
if (recordDecl->getDeclContext())
5353
recordDecl->printQualifiedName(outStream, policy);
5454
else
55-
recordDecl->printName(outStream);
55+
recordDecl->DeclaratorDecl::printName(outStream);
5656
} else if (auto *typedefNameDecl = recordDecl->getTypedefNameForAnonDecl()) {
5757
if (typedefNameDecl->getDeclContext())
5858
typedefNameDecl->printQualifiedName(outStream, policy);

0 commit comments

Comments
 (0)