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

References

tools/clang/lib/Sema/SemaExpr.cpp
 9796   if (S.getLangOpts().OpenCL)
 9802       !RHS.get()->EvaluateAsInt(RHSResult, S.Context))
 9807     S.DiagRuntimeBehavior(Loc, RHS.get(),
 9808                           S.PDiag(diag::warn_shift_negative)
 9813                        S.Context.getTypeSize(LHS.get()->getType()));
 9815     S.DiagRuntimeBehavior(Loc, RHS.get(),
 9816                           S.PDiag(diag::warn_shift_gt_typewidth)
 9832       !LHS.get()->EvaluateAsInt(LHSResult, S.Context))
 9838   if (Left.isNegative() && !S.getLangOpts().isSignedOverflowDefined() &&
 9839       !S.getLangOpts().CPlusPlus2a) {
 9840     S.DiagRuntimeBehavior(Loc, LHS.get(),
 9841                           S.PDiag(diag::warn_shift_lhs_negative)
 9863     S.Diag(Loc, diag::warn_shift_result_sets_sign_bit)
 9869   S.Diag(Loc, diag::warn_shift_result_gt_typewidth)