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

Declarations

tools/clang/include/clang/AST/Expr.h
  643   bool HasSideEffects(const ASTContext &Ctx,

References

tools/clang/lib/ARCMigrate/Transforms.cpp
  168   if (!E || !E->HasSideEffects(Ctx))
tools/clang/lib/AST/ASTContext.cpp
10083   if (VD->getInit() && VD->getInit()->HasSideEffects(*this) &&
tools/clang/lib/AST/Expr.cpp
 3337           E->HasSideEffects(Context, IncludePossibleEffects))
 3412     return cast<ConstantExpr>(this)->getSubExpr()->HasSideEffects(
 3499       if (E->HasSideEffects(Ctx, IncludePossibleEffects))
 3505         HasSideEffects(Ctx, IncludePossibleEffects);
 3508     return cast<ChooseExpr>(this)->getChosenSubExpr()->HasSideEffects(
 3512     return cast<CXXDefaultArgExpr>(this)->getExpr()->HasSideEffects(
 3518       return E->HasSideEffects(Ctx, IncludePossibleEffects);
 3577       if (E->HasSideEffects(Ctx, IncludePossibleEffects))
 3592       if (Subexpr->HasSideEffects(Ctx, IncludePossibleEffects))
 3618         cast<Expr>(SubStmt)->HasSideEffects(Ctx, IncludePossibleEffects))
tools/clang/lib/AST/ExprConstant.cpp
 7167     if (Info.getLangOpts().MSVCCompat && !E->HasSideEffects(Info.Ctx))
10518     if (E->getArg(0)->HasSideEffects(Info.Ctx))
10583     if (Info.InConstantContext || Arg->HasSideEffects(Info.Ctx)) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
  600   if (Type == 3 || (!EmittedE && E->HasSideEffects(getContext())))
 2061     if (E->getArg(0)->HasSideEffects(getContext()))
 2114     if (Arg->HasSideEffects(getContext()))
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1150       E->getRHS()->HasSideEffects(CGF.getContext())) {
 1378            !E->HasSideEffects(CGF.getContext());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 6545          !E->HasSideEffects(Ctx, /*IncludePossibleEffects=*/true);
tools/clang/lib/Sema/SemaChecking.cpp
 6012   if (Arg->HasSideEffects(Context))
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4788     if (Init->getInit()->HasSideEffects(S.Context))
tools/clang/lib/Sema/SemaExpr.cpp
 1469       ControllingExpr->HasSideEffects(Context, false))
 3875       E->HasSideEffects(Context, false))
tools/clang/lib/Sema/SemaExprCXX.cpp
  524            E->HasSideEffects(Context, WasEvaluated)) {
 7259   if (!inTemplateInstantiation() && Operand->HasSideEffects(Context, false)) {
tools/clang/lib/Sema/SemaInit.cpp
  428           << (OldInit->HasSideEffects(SemaRef.Context) && FullyOverwritten)
 2817         DIE->getInit()->HasSideEffects(SemaRef.Context) && !VerifyOnly)
 5759       else if (Initializer->HasSideEffects(S.Context))
tools/clang/lib/Sema/SemaLambda.cpp
 1557     if (Init && Init->HasSideEffects(Context))
tools/clang/lib/Sema/SemaType.cpp
 8386       E->HasSideEffects(Context, false)) {
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  226           if (V->getInit()->HasSideEffects(ACtx,
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
  324     if (!IgnoreSideEffects && Expr1->HasSideEffects(Ctx))
tools/clang/tools/extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
   78   if (BaseExpr->HasSideEffects(*AstContext) ||