Lines Matching defs:os
60 static SourceRange genName(raw_ostream &os, const MemRegion *R,
69 SourceRange StackAddrEscapeChecker::genName(raw_ostream &os, const MemRegion *R,
75 os << "Address of ";
80 os << "stack memory associated with a compound literal "
88 os << "stack memory allocated by call to alloca() on line "
94 os << "stack-allocated block declared on line "
97 os << "stack memory associated with local variable '" << VR->getString()
102 os << "stack memory associated with temporary object of type '";
103 Ty.print(os, Ctx.getPrintingPolicy());
104 os << "'";
164 llvm::raw_svector_ostream os(buf);
165 SourceRange range = genName(os, R, C.getASTContext());
166 os << " returned to caller";
168 std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N);