Lines Matching refs:RecordPRValue
745 static bool isOriginalRecordConstructor(const Expr &RecordPRValue) { in isOriginalRecordConstructor() argument
746 if (auto *Init = dyn_cast<InitListExpr>(&RecordPRValue)) in isOriginalRecordConstructor()
748 return isa<CXXConstructExpr>(RecordPRValue) || isa<CallExpr>(RecordPRValue) || in isOriginalRecordConstructor()
749 isa<LambdaExpr>(RecordPRValue) || in isOriginalRecordConstructor()
750 isa<CXXDefaultInitExpr>(RecordPRValue) || in isOriginalRecordConstructor()
760 isa<ConditionalOperator>(RecordPRValue); in isOriginalRecordConstructor()
764 Environment::getResultObjectLocation(const Expr &RecordPRValue) const { in getResultObjectLocation()
765 assert(RecordPRValue.getType()->isRecordType()); in getResultObjectLocation()
766 assert(RecordPRValue.isPRValue()); in getResultObjectLocation()
770 [this, &RecordPRValue]() -> RecordStorageLocation & { in getResultObjectLocation()
772 DACtx->getStableStorageLocation(RecordPRValue)); in getResultObjectLocation()
775 if (isOriginalRecordConstructor(RecordPRValue)) { in getResultObjectLocation()
776 auto *Val = cast_or_null<RecordValue>(getValue(RecordPRValue)); in getResultObjectLocation()
785 if (auto *Op = dyn_cast<BinaryOperator>(&RecordPRValue); in getResultObjectLocation()
792 llvm::SmallVector<const Stmt *> children(RecordPRValue.child_begin(), in getResultObjectLocation()
793 RecordPRValue.child_end()); in getResultObjectLocation()