File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,7 @@ static std::string printDefinition(const Decl *D) {
456
456
PrintingPolicy Policy =
457
457
printingPolicyForDecls (D->getASTContext ().getPrintingPolicy ());
458
458
Policy.IncludeTagDefinition = false ;
459
+ Policy.SuppressTemplateArgsInCXXConstructors = true ;
459
460
D->print (OS, Policy);
460
461
OS.flush ();
461
462
return Definition;
Original file line number Diff line number Diff line change @@ -920,7 +920,7 @@ void foo())cpp";
920
920
HI.Kind = SymbolKind::Constructor;
921
921
HI.Type = " void ()" ; // FIXME: Should be None
922
922
HI.ReturnType = " void" ; // FIXME: Should be None or X<T*>
923
- HI.Definition = " X<type - parameter - 0 - 0 *> ()" ; // FIXME: --> X()
923
+ HI.Definition = " X()" ;
924
924
HI.Parameters .emplace ();
925
925
}},
926
926
You can’t perform that action at this time.
0 commit comments