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

References

tools/clang/lib/Sema/SemaExpr.cpp
12120     return S.Context.DependentTy;
12131   if (S.getLangOpts().CPlusPlus && ResType->isBooleanType()) {
12134       S.Diag(OpLoc, diag::err_decrement_bool) << Op->getSourceRange();
12138     S.Diag(OpLoc, S.getLangOpts().CPlusPlus17 ? diag::ext_increment_bool
12138     S.Diag(OpLoc, S.getLangOpts().CPlusPlus17 ? diag::ext_increment_bool
12141   } else if (S.getLangOpts().CPlusPlus && ResType->isEnumeralType()) {
12143     S.Diag(OpLoc, diag::err_increment_decrement_enum) << IsInc << ResType;
12149     if (!checkArithmeticOpPointerOperand(S, OpLoc, Op))
12154     if (checkArithmeticIncompletePointerType(S, OpLoc, Op) ||
12155         checkArithmeticOnObjCPointer(S, OpLoc, Op))
12159     S.Diag(OpLoc, diag::ext_integer_increment_complex)
12162     ExprResult PR = S.CheckPlaceholderExpr(Op);
12164     return CheckIncrementDecrementOperand(S, PR.get(), VK, OK, OpLoc,
12166   } else if (S.getLangOpts().AltiVec && ResType->isVectorType()) {
12168   } else if (S.getLangOpts().ZVector && ResType->isVectorType() &&
12172   } else if(S.getLangOpts().OpenCL && ResType->isVectorType() &&
12176     S.Diag(OpLoc, diag::err_typecheck_illegal_increment_decrement)
12182   if (CheckForModifiableLvalue(Op, OpLoc, S))
12184   if (S.getLangOpts().CPlusPlus2a && ResType.isVolatileQualified()) {
12187     S.Diag(OpLoc, diag::warn_deprecated_increment_decrement_volatile)
12193   if (IsPrefix && S.getLangOpts().CPlusPlus) {