Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h604 (LTy->isArithmeticType() && RTy->isArithmeticType())) { in doTypeConversion()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h283 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
H A DType.h2251 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
7052 (isArithmeticType() && !isEnumeralType());
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp3140 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
3141 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3150 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
3152 DestType->isArithmeticType()) { in CheckCStyleCast()
H A DSemaExpr.cpp1584 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
4968 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
9264 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
10174 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
10265 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
10987 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) in tryGCCVectorConvertAndSplat()
11515 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
11889 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
12000 if (!compType.isNull() && compType->isArithmeticType()) { in CheckSubtractionOperands()
12965 assert(IntType->isArithmeticType()); in checkArithmeticOrEnumeralThreeWayCompare()
[all …]
H A DSemaObjCProperty.cpp1389 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1735 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
H A DSemaExprCXX.cpp5097 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
6840 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
H A DSemaOverload.cpp1857 if (FromType->isArithmeticType()) { in IsVectorConversion()
2077 (FromType->isArithmeticType() || in IsStandardConversion()
2093 } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) || in IsStandardConversion()
2094 (ToType->isAnyComplexType() && FromType->isArithmeticType())) { in IsStandardConversion()
8587 HasArithmeticOrEnumeralTypes || Ty->isArithmeticType(); in AddTypesConvertedFrom()
H A DSemaOpenMP.cpp19702 (S.getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in actOnOMPReductionKindClause()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp2218 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3467 assert(BO->getRHS()->getType().getCanonicalType()->isArithmeticType() && in EmitDiv()
H A DCGExpr.cpp3231 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()