reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
12126 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) 12127 ResType = ResAtomicType->getValueType(); 12129 assert(!ResType.isNull() && "no type for increment/decrement expression"); 12131 if (S.getLangOpts().CPlusPlus && ResType->isBooleanType()) { 12141 } else if (S.getLangOpts().CPlusPlus && ResType->isEnumeralType()) { 12143 S.Diag(OpLoc, diag::err_increment_decrement_enum) << IsInc << ResType; 12145 } else if (ResType->isRealType()) { 12147 } else if (ResType->isPointerType()) { 12151 } else if (ResType->isObjCObjectPointerType()) { 12157 } else if (ResType->isAnyComplexType()) { 12160 << ResType << Op->getSourceRange(); 12161 } else if (ResType->isPlaceholderType()) { 12166 } else if (S.getLangOpts().AltiVec && ResType->isVectorType()) { 12168 } else if (S.getLangOpts().ZVector && ResType->isVectorType() && 12169 (ResType->castAs<VectorType>()->getVectorKind() != 12172 } else if(S.getLangOpts().OpenCL && ResType->isVectorType() && 12173 ResType->castAs<VectorType>()->getElementType()->isIntegerType()) { 12177 << ResType << int(IsInc) << Op->getSourceRange(); 12184 if (S.getLangOpts().CPlusPlus2a && ResType.isVolatileQualified()) { 12188 << IsInc << ResType; 12196 return ResType; 12199 return ResType.getUnqualifiedType();