You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A using-declaration that expands a pack loses its ellipsis #1357
gets the synopsis using Fs::operator();, which isn't even valid C++: Fs is a pack and is never expanded.
Why it happens
UsingSymbol has no member saying whether the declaration is a pack expansion, so the generators have nothing to print the ellipsis from. Base classes already record it (IsPackExpansion, set from CXXBaseSpecifier::getEllipsisLoc in src/mrdocs/AST/ASTVisitor.cpp), and Clang gives the same information for a dependent using-declaration through isPackExpansion on UnresolvedUsingValueDecl and UnresolvedUsingTypenameDecl.
The golden fixture that #1317 adds for inheriting constructors shows the same thing for using Bases::Bases...;.
Activity