Home | History | Annotate | Download | only in AST

Lines Matching defs:PathSize

534   unsigned PathSize = (BasePath ? BasePath->size() : 0);
536 + PathSize * sizeof(CXXBaseSpecifier*));
538 new (Buffer) CXXStaticCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
540 if (PathSize) E->setCastPath(*BasePath);
545 unsigned PathSize) {
547 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
548 return new (Buffer) CXXStaticCastExpr(EmptyShell(), PathSize);
559 unsigned PathSize = (BasePath ? BasePath->size() : 0);
561 + PathSize * sizeof(CXXBaseSpecifier*));
563 new (Buffer) CXXDynamicCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
565 if (PathSize) E->setCastPath(*BasePath);
570 unsigned PathSize) {
572 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
573 return new (Buffer) CXXDynamicCastExpr(EmptyShell(), PathSize);
616 unsigned PathSize = (BasePath ? BasePath->size() : 0);
618 C.Allocate(sizeof(CXXReinterpretCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
620 new (Buffer) CXXReinterpretCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
622 if (PathSize) E->setCastPath(*BasePath);
627 CXXReinterpretCastExpr::CreateEmpty(ASTContext &C, unsigned PathSize) {
629 + PathSize * sizeof(CXXBaseSpecifier*));
630 return new (Buffer) CXXReinterpretCastExpr(EmptyShell(), PathSize);
651 unsigned PathSize = (BasePath ? BasePath->size() : 0);
653 + PathSize * sizeof(CXXBaseSpecifier*));
655 new (Buffer) CXXFunctionalCastExpr(T, VK, Written, L, K, Op, PathSize, R);
656 if (PathSize) E->setCastPath(*BasePath);
661 CXXFunctionalCastExpr::CreateEmpty(ASTContext &C, unsigned PathSize) {
663 + PathSize * sizeof(CXXBaseSpecifier*));
664 return new (Buffer) CXXFunctionalCastExpr(EmptyShell(), PathSize);