Searched refs:CleanupObject (Results 1 – 12 of 12) sorted by relevance
355 llvm::Expected<ExprWithCleanups::CleanupObject>356 Import(ExprWithCleanups::CleanupObject From);
203 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
3342 using CleanupObject = llvm::PointerUnion<BlockDecl *, CompoundLiteralExpr *>;3350 ArrayRef<CleanupObject> Objects);3358 ArrayRef<CleanupObject> objects);3360 ArrayRef<CleanupObject> getObjects() const { in getObjects()3361 return llvm::makeArrayRef(getTrailingObjects<CleanupObject>(), in getObjects()3367 CleanupObject getObject(unsigned i) const { in getObject()
1027 ArrayRef<CleanupObject> objects) in ExprWithCleanups()1037 getTrailingObjects<CleanupObject>()[i] = objects[i]; in ExprWithCleanups()1042 ArrayRef<CleanupObject> objects) { in Create()1043 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(objects.size()), in Create()1057 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(numObjects), in Create()
1293 ArrayRef<CleanupObject> objects) in ExprWithCleanups()1298 getTrailingObjects<CleanupObject>()[i] = objects[i]; in ExprWithCleanups()1303 ArrayRef<CleanupObject> objects) { in Create()1304 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(objects.size()), in Create()1318 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(numObjects), in Create()
1339 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
676 const ExprWithCleanups::CleanupObject &C) { in dumpCleanupObject()
7376 SmallVector<ExprWithCleanups::CleanupObject, 8> ToObjects(E->getNumObjects()); in VisitExprWithCleanups()8056 llvm::Expected<ExprWithCleanups::CleanupObject>8057 ASTImporter::Import(ExprWithCleanups::CleanupObject From) { in Import()8060 return ExprWithCleanups::CleanupObject(cast<CompoundLiteralExpr>(*R)); in Import()
2944 typedef BlockDecl *CleanupObject; typedef2951 ArrayRef<CleanupObject> Objects);2962 ArrayRef<CleanupObject> objects);2964 ArrayRef<CleanupObject> getObjects() const { in getObjects()2965 return llvm::makeArrayRef(getTrailingObjects<CleanupObject>(), in getObjects()2971 CleanupObject getObject(unsigned i) const { in getObject()
639 ArrayRef<ExprWithCleanups::CleanupObject> cleanups = E->getObjects(); in enterNonTrivialFullExpression()640 for (ArrayRef<ExprWithCleanups::CleanupObject>::iterator in enterNonTrivialFullExpression()
1928 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups()1935 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups()
659 SmallVector<ExprWithCleanups::CleanupObject, 8> ExprCleanupObjects;