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

References

tools/clang/lib/Analysis/BodyFarm.cpp
  354   ValueDecl *FlagFieldDecl = M.findMemberField(FlagRecordDecl, "__state_");
  359     FlagFieldDecl = M.findMemberField(FlagRecordDecl, "_M_once");
  383         M.makeDeclRefExpr(Callback,
  421     Expr *ParamExpr = M.makeDeclRefExpr(PDecl);
  424       ParamExpr = M.makeLvalueToRvalue(ParamExpr, PTy);
  432     CallbackCall = create_call_once_lambda_call(C, M, Callback,
  437     CallbackCall = create_call_once_funcptr_call(C, M, Callback, CallArgs);
  441       M.makeDeclRefExpr(Flag,
  445   MemberExpr *Deref = M.makeMemberExpression(FlagDecl, FlagFieldDecl);
  452       M.makeImplicitCast(M.makeLvalueToRvalue(Deref, DerefType), DerefType,
  452       M.makeImplicitCast(M.makeLvalueToRvalue(Deref, DerefType), DerefType,
  461   BinaryOperator *FlagAssignment = M.makeAssignment(
  462       Deref, M.makeIntegralCast(M.makeIntegerLiteral(1, C.IntTy), DerefType),
  462       Deref, M.makeIntegralCast(M.makeIntegerLiteral(1, C.IntTy), DerefType),
  471                      /* Then=*/M.makeCompound({CallbackCall, FlagAssignment}));