Lines Matching refs:os
148 static bool SummarizeRegion(raw_ostream &os, ASTContext &Ctx,
239 llvm::raw_svector_ostream os(buf);
241 os << "Null pointer argument in call to " << CurrentFunctionDescription;
245 BugReport *report = new BugReport(*BT, os.str(), N);
311 llvm::raw_svector_ostream os(buf);
312 os << toUppercase(CurrentFunctionDescription[0])
315 report = new BugReport(*BT, os.str(), N);
710 llvm::raw_svector_ostream os(buf);
712 os << "Argument to " << CurrentFunctionDescription
718 os.str(), N);
770 llvm::raw_svector_ostream os(buf);
773 os << "Argument to " << CurrentFunctionDescription << " is ";
775 if (SummarizeRegion(os, C.getASTContext(), MR))
776 os << ", which is not a null-terminated string";
778 os << "not a null-terminated string";
782 os.str(), N);
857 bool CStringChecker::SummarizeRegion(raw_ostream &os, ASTContext &Ctx,
865 os << "the address of the function '" << *FD << '\'';
867 os << "the address of a function";
871 os << "block text";
874 os << "a block";
878 os << "a C++ temp object of type " << TVR->getValueType().getAsString();
881 os << "a variable of type" << TVR->getValueType().getAsString();
884 os << "a field of type " << TVR->getValueType().getAsString();
887 os << "an instance variable of type " << TVR->getValueType().getAsString();