Skip to content

Commit

Permalink
[cling] .typedef: separate underlying and type alias name by space.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Apr 26, 2022
1 parent bf1c659 commit 4ecb41a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interpreter/cling/lib/MetaProcessor/Display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,7 @@ void TypedefPrinter::DisplayTypedefDecl(TypedefNameDecl* typedefDecl)const
llvm::raw_string_ostream out(textLine);
typedefDecl->getUnderlyingType().
getDesugaredType(typedefDecl->getASTContext()).print(out,printingPolicy);
out << ' ';
//Name for diagnostic will include template arguments if any.
typedefDecl->getNameForDiagnostic(out,
printingPolicy,/*qualified=*/true);
Expand Down

0 comments on commit 4ecb41a

Please sign in to comment.