Home | History | Annotate | Download | only in AST

Lines Matching refs:PathSize

1398   unsigned PathSize = (BasePath ? BasePath->size() : 0);
1400 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1402 new (Buffer) ImplicitCastExpr(T, Kind, Operand, PathSize, VK);
1403 if (PathSize) E->setCastPath(*BasePath);
1408 unsigned PathSize) {
1410 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1411 return new (Buffer) ImplicitCastExpr(EmptyShell(), PathSize);
1420 unsigned PathSize = (BasePath ? BasePath->size() : 0);
1422 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1424 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, WrittenTy, L, R);
1425 if (PathSize) E->setCastPath(*BasePath);
1429 CStyleCastExpr *CStyleCastExpr::CreateEmpty(ASTContext &C, unsigned PathSize) {
1431 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
1432 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize);