Skip to content

Commit

Permalink
[CIR] Temporary fix for printName switching to take a PrintingPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
lanza committed Oct 18, 2022
1 parent 634c00a commit 15ef61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/CIR/CodeGen/CIRGenTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ std::string CIRGenTypes::getRecordTypeName(const clang::RecordDecl *recordDecl,
if (recordDecl->getDeclContext())
recordDecl->printQualifiedName(outStream, policy);
else
recordDecl->printName(outStream);
recordDecl->DeclaratorDecl::printName(outStream);
} else if (auto *typedefNameDecl = recordDecl->getTypedefNameForAnonDecl()) {
if (typedefNameDecl->getDeclContext())
typedefNameDecl->printQualifiedName(outStream, policy);
Expand Down

0 comments on commit 15ef61a

Please sign in to comment.