Print a<b<c> >' rather than 'a<b<c>>' in the Transform.C test.

See llvm/llvm-project@159a9f7e76
This commit is contained in:
Vassil Vassilev 2022-03-22 11:54:22 +00:00 committed by jenkins
parent de1c0feddc
commit a656f18868

View File

@ -215,6 +215,7 @@ Transform::GetPartiallyDesugaredType(Ctx, QT, transConfig).getAsString().c_str()
clang::PrintingPolicy Policy(Ctx.getPrintingPolicy());
Policy.SuppressTagKeyword = true; // Never get the class or struct keyword
Policy.SuppressScope = true; // Force the scope to be coming from a clang::ElaboratedType.
Policy.SplitTemplateClosers = true; // Print a<b<c> >' rather than 'a<b<c>>'.
std::string name;
Transform::GetPartiallyDesugaredType(Ctx, QT, transConfig).getAsStringInternal(name,Policy);
name.c_str()