Lines Matching refs:Out

52 void ProgramPoint::printJson(llvm::raw_ostream &Out, const char *NL) const {
59 Out << "\"kind\": \"";
62 Out << "BlockEntrance\""
69 Out << "FunctionExit\""
74 Out << RS->getID(Context) << ", \"stmt\": ";
75 RS->printJson(Out, nullptr, PP, AddQuotes);
77 Out << "null, \"stmt\": null";
85 Out << "CallEnter\", \"callee_decl\": \"";
86 Out << AnalysisDeclContext::getFunctionName(
91 Out << "CallExitBegin\"";
94 Out << "CallExitEnd\"";
97 Out << "EpsilonPoint\"";
101 Out << "LoopExit\", \"stmt\": \""
107 Out << "PreCall\", \"decl\": \""
110 printSourceLocationAsJson(Out, PC.getLocation(), SM);
116 Out << "PostCall\", \"decl\": \""
119 printSourceLocationAsJson(Out, PC.getLocation(), SM);
124 Out << "PostInitializer\", ";
127 Out << "\"field_decl\": \"" << *FD << '\"';
129 Out << "\"type\": \"";
132 Ty.print(Out, Context.getLangOpts());
133 Out << '\"';
141 Out << "Edge\", \"src_id\": " << E.getSrc()->getBlockID()
145 Out << "null, \"term_kind\": null";
149 E.getSrc()->printTerminatorJson(Out, Context.getLangOpts(),
151 Out << ", \"location\": ";
152 printSourceLocationAsJson(Out, T->getBeginLoc(), SM);
154 Out << ", \"term_kind\": \"";
156 Out << "SwitchStmt\", \"case\": ";
159 Out << "{ \"lhs\": ";
161 LHS->printJson(Out, nullptr, PP, AddQuotes);
163 Out << "null";
166 Out << ", \"rhs\": ";
168 RHS->printJson(Out, nullptr, PP, AddQuotes);
170 Out << "null";
172 Out << " }";
175 Out << "\"default\"";
178 Out << "\"implicit default\"";
182 Out << "IndirectGotoStmt\"";
184 Out << "Condition\", \"value\": "
194 Out << "Statement\", \"stmt_kind\": \"" << S->getStmtClassName()
198 Out << "\"cast_kind\": \"" << CS->getCastKindName() << "\", ";
200 Out << "\"pretty\": ";
202 S->printJson(Out, nullptr, PP, AddQuotes);
204 Out << ", \"location\": ";
205 printSourceLocationAsJson(Out, S->getBeginLoc(), SM);
207 Out << ", \"stmt_point_kind\": \"";
209 Out << "PreLoad";
211 Out << "PreStore";
213 Out << "PostAllocatorCall";
215 Out << "PostCondition";
217 Out << "PostLoad";
219 Out << "PostLValue";
221 Out << "PostStore";
223 Out << "PostStmt";
225 Out << "PostStmtPurgeDeadSymbols";
227 Out << "PreStmtPurgeDeadSymbols";
229 Out << "PreStmt";
231 Out << "\nKind: '" << getKind();
235 Out << '\"';