Home | History | Annotate | Download | only in AST

Lines Matching refs:PathSize

1644   unsigned PathSize = (BasePath ? BasePath->size() : 0);
1646 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1648 new (Buffer) ImplicitCastExpr(T, Kind, Operand, PathSize, VK);
1649 if (PathSize) E->setCastPath(*BasePath);
1654 unsigned PathSize) {
1656 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1657 return new (Buffer) ImplicitCastExpr(EmptyShell(), PathSize);
1666 unsigned PathSize = (BasePath ? BasePath->size() : 0);
1668 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1670 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, WrittenTy, L, R);
1671 if (PathSize) E->setCastPath(*BasePath);
1675 CStyleCastExpr *CStyleCastExpr::CreateEmpty(ASTContext &C, unsigned PathSize) {
1677 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1678 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize);