Lines Matching refs:os
38 static SourceRange GenName(llvm::raw_ostream &os, const MemRegion *R,
43 SourceRange StackAddrEscapeChecker::GenName(llvm::raw_ostream &os,
49 os << "Address of ";
54 os << "stack memory associated with a compound literal "
64 os << "stack memory allocated by call to alloca() on line "
71 os << "stack-allocated block declared on line "
75 os << "stack memory associated with local variable '"
99 llvm::raw_svector_ostream os(buf);
100 SourceRange range = GenName(os, R, C.getSourceManager());
101 os << " returned to caller";
102 RangedBugReport *report = new RangedBugReport(*BT_returnstack, os.str(), N);
200 llvm::raw_svector_ostream os(buf);
201 SourceRange range = GenName(os, cb.V[i].second,
203 os << " is still referred to by the global variable '";
205 os << VR->getDecl()->getNameAsString()
207 RangedBugReport *report = new RangedBugReport(*BT_stackleak, os.str(), N);