Home | History | Annotate | Download | only in AST

Lines Matching defs:PathSize

596   unsigned PathSize = (BasePath ? BasePath->size() : 0);
598 + PathSize * sizeof(CXXBaseSpecifier*));
600 new (Buffer) CXXStaticCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
602 if (PathSize) E->setCastPath(*BasePath);
607 unsigned PathSize) {
609 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
610 return new (Buffer) CXXStaticCastExpr(EmptyShell(), PathSize);
621 unsigned PathSize = (BasePath ? BasePath->size() : 0);
623 + PathSize * sizeof(CXXBaseSpecifier*));
625 new (Buffer) CXXDynamicCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
627 if (PathSize) E->setCastPath(*BasePath);
632 unsigned PathSize) {
634 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
635 return new (Buffer) CXXDynamicCastExpr(EmptyShell(), PathSize);
678 unsigned PathSize = (BasePath ? BasePath->size() : 0);
680 C.Allocate(sizeof(CXXReinterpretCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
682 new (Buffer) CXXReinterpretCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
684 if (PathSize) E->setCastPath(*BasePath);
689 CXXReinterpretCastExpr::CreateEmpty(const ASTContext &C, unsigned PathSize) {
691 + PathSize * sizeof(CXXBaseSpecifier*));
692 return new (Buffer) CXXReinterpretCastExpr(EmptyShell(), PathSize);
713 unsigned PathSize = (BasePath ? BasePath->size() : 0);
715 + PathSize * sizeof(CXXBaseSpecifier*));
717 new (Buffer) CXXFunctionalCastExpr(T, VK, Written, K, Op, PathSize, L, R);
718 if (PathSize) E->setCastPath(*BasePath);
723 CXXFunctionalCastExpr::CreateEmpty(const ASTContext &C, unsigned PathSize) {
725 + PathSize * sizeof(CXXBaseSpecifier*));
726 return new (Buffer) CXXFunctionalCastExpr(EmptyShell(), PathSize);