Home
last modified time | relevance | path

Searched refs:isArithmeticType (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp414 if (ParamType->isArithmeticType() && ArgType->isArithmeticType()) { in areTypesCompatible()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h602 (LTy->isArithmeticType() && RTy->isArithmeticType())) { in doTypeConversion()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h283 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
H A DType.h2077 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
6775 (isArithmeticType() && !isEnumeralType());
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp3047 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
3048 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3057 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
3059 DestType->isArithmeticType()) { in CheckCStyleCast()
H A DSemaExpr.cpp1557 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
4720 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
8691 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
9563 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
9640 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
10320 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) in tryGCCVectorConvertAndSplat()
10820 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
11194 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
11305 if (!compType.isNull() && compType->isArithmeticType()) { in CheckSubtractionOperands()
12266 assert(IntType->isArithmeticType()); in checkArithmeticOrEnumeralThreeWayCompare()
[all …]
H A DSemaObjCProperty.cpp1390 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1736 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
H A DSemaExprCXX.cpp4912 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
6623 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
H A DSemaOverload.cpp1640 if (FromType->isArithmeticType()) { in IsVectorConversion()
1849 (FromType->isArithmeticType() || in IsStandardConversion()
1865 } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) || in IsStandardConversion()
1866 (ToType->isAnyComplexType() && FromType->isArithmeticType())) { in IsStandardConversion()
8088 HasArithmeticOrEnumeralTypes || Ty->isArithmeticType(); in AddTypesConvertedFrom()
H A DSemaOpenMP.cpp19061 (S.getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in actOnOMPReductionKindClause()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp2152 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp3277 assert(BO->getRHS()->getType().getCanonicalType()->isArithmeticType() && in EmitDiv()
H A DCGExpr.cpp2997 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()