Print a<b<c> >' rather than 'a<b<c>>' in the Transform.C test.
See llvm/llvm-project@159a9f7e76
This commit is contained in:
parent
de1c0feddc
commit
a656f18868
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user