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

References

tools/clang/lib/Sema/SemaExpr.cpp
13485     resultType = CheckIncrementDecrementOperand(*this, Input.get(), VK, OK,
13491     CanOverflow = isOverflowingIntegerType(Context, resultType);
13494     resultType = CheckAddressOfOperand(Input, OpLoc);
13501     resultType = CheckIndirectionOperand(*this, Input.get(), VK, OpLoc);
13520     resultType = Input.get()->getType();
13521     if (resultType->isDependentType())
13523     if (resultType->isArithmeticType()) // C99 6.5.3.3p1
13525     else if (resultType->isVectorType() &&
13528               resultType->castAs<VectorType>()->getVectorKind() !=
13533              resultType->isPointerType())
13537       << resultType << Input.get()->getSourceRange());
13543     resultType = Input.get()->getType();
13544     if (resultType->isDependentType())
13547     if (resultType->isComplexType() || resultType->isComplexIntegerType())
13547     if (resultType->isComplexType() || resultType->isComplexIntegerType())
13550           << resultType << Input.get()->getSourceRange();
13551     else if (resultType->hasIntegerRepresentation())
13553     else if (resultType->isExtVectorType() && Context.getLangOpts().OpenCL) {
13556       QualType T = resultType->castAs<ExtVectorType>()->getElementType();
13559                           << resultType << Input.get()->getSourceRange());
13562                        << resultType << Input.get()->getSourceRange());
13570     resultType = Input.get()->getType();
13573     if (resultType->isHalfType() && !Context.getLangOpts().NativeHalfType) {
13575       resultType = Context.FloatTy;
13578     if (resultType->isDependentType())
13580     if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) {
13580     if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) {
13586                                   ScalarTypeToBooleanCastKind(resultType));
13591         if (!resultType->isIntegerType() && !resultType->isPointerType())
13591         if (!resultType->isIntegerType() && !resultType->isPointerType())
13593                            << resultType << Input.get()->getSourceRange());
13595     } else if (resultType->isExtVectorType()) {
13601         QualType T = resultType->castAs<ExtVectorType>()->getElementType();
13604                            << resultType << Input.get()->getSourceRange());
13607       resultType = GetSignedVectorType(resultType);
13607       resultType = GetSignedVectorType(resultType);
13613         << resultType << Input.get()->getSourceRange());
13618     resultType = Context.getLogicalOperationType();
13622     resultType = CheckRealImagOperand(*this, Input, OpLoc, Opc == UO_Real);
13636     resultType = Input.get()->getType();
13648   if (resultType.isNull() || Input.isInvalid())
13659       UnaryOperator(Input.get(), Opc, resultType, VK, OK, OpLoc, CanOverflow);