In a primary template we can see a ParenListExpr with a PackExpansionExpr. With the equal sign we need a type.
| 1198 | |
| 1199 | // In a primary template we can see a ParenListExpr with a PackExpansionExpr. With the equal sign we need a type. |
| 1200 | static bool IsPrimaryTemplatePackExpansionExpr(const ParenListExpr* stmt) |
| 1201 | { |
| 1202 | return stmt and stmt->getNumExprs() and isa_and_nonnull<PackExpansionExpr>(stmt->getExpr(0)) and |
| 1203 | stmt->getType().isNull(); |
| 1204 | } |
| 1205 | //----------------------------------------------------------------------------- |
| 1206 | |
| 1207 | void CodeGenerator::InsertArg(const LinkageSpecDecl* stmt) |