reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Analysis/ProgramPoint.cpp
   57   Out << "\"kind\": \"";
   60     Out << "BlockEntrance\""
   67     Out << "FunctionExit\""
   72       Out << RS->getID(Context) << ", \"stmt\": ";
   73       RS->printJson(Out, nullptr, PP, AddQuotes);
   75       Out << "null, \"stmt\": null";
   83     Out << "CallEnter\"";
   86     Out << "CallExitBegin\"";
   89     Out << "CallExitEnd\"";
   92     Out << "EpsilonPoint\"";
   96     Out << "LoopExit\", \"stmt\": \""
  102     Out << "PreCall\", \"decl\": \""
  105     printSourceLocationAsJson(Out, PC.getLocation(), SM);
  111     Out << "PostCall\", \"decl\": \""
  114     printSourceLocationAsJson(Out, PC.getLocation(), SM);
  119     Out << "PostInitializer\", ";
  122       Out << "\"field_decl\": \"" << *FD << '\"';
  124       Out << "\"type\": \"";
  127       Ty.print(Out, Context.getLangOpts());
  128       Out << '\"';
  136     Out << "Edge\", \"src_id\": " << E.getSrc()->getBlockID()
  140       Out << "null, \"term_kind\": null";
  144     E.getSrc()->printTerminatorJson(Out, Context.getLangOpts(),
  146     Out << ", \"location\": ";
  147     printSourceLocationAsJson(Out, T->getBeginLoc(), SM);
  149     Out << ", \"term_kind\": \"";
  151       Out << "SwitchStmt\", \"case\": ";
  154           Out << "{ \"lhs\": ";
  156             LHS->printJson(Out, nullptr, PP, AddQuotes);
  158             Out << "null";
  161           Out << ", \"rhs\": ";
  163             RHS->printJson(Out, nullptr, PP, AddQuotes);
  165             Out << "null";
  167           Out << " }";
  170           Out << "\"default\"";
  173         Out << "\"implicit default\"";
  177       Out << "IndirectGotoStmt\"";
  179       Out << "Condition\", \"value\": "
  189     Out << "Statement\", \"stmt_kind\": \"" << S->getStmtClassName()
  193       Out << "\"cast_kind\": \"" << CS->getCastKindName() << "\", ";
  195     Out << "\"pretty\": ";
  197     S->printJson(Out, nullptr, PP, AddQuotes);
  199     Out << ", \"location\": ";
  200     printSourceLocationAsJson(Out, S->getBeginLoc(), SM);
  202     Out << ", \"stmt_point_kind\": \"";
  204       Out << "PreLoad";
  206       Out << "PreStore";
  208       Out << "PostAllocatorCall";
  210       Out << "PostCondition";
  212       Out << "PostLoad";
  214       Out << "PostLValue";
  216       Out << "PostStore";
  218       Out << "PostStmt";
  220       Out << "PostStmtPurgeDeadSymbols";
  222       Out << "PreStmtPurgeDeadSymbols";
  224       Out << "PreStmt";
  226       Out << "\nKind: '" << getKind();
  230     Out << '\"';