Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h604 (LTy->isArithmeticType() && RTy->isArithmeticType())) { in doTypeConversion()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCanonicalType.h283 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
H A DType.h2138 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
6862 (isArithmeticType() && !isEnumeralType());
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCast.cpp3094 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
3095 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3104 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
3106 DestType->isArithmeticType()) { in CheckCStyleCast()
H A DSemaExpr.cpp1558 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
4180 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
4725 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
8916 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
9817 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
9894 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
10581 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) in tryGCCVectorConvertAndSplat()
11072 if (IsDiv && LHSTy->isConstantMatrixType() && RHSTy->isArithmeticType()) in CheckMultiplyDivideOperands()
11081 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
11455 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
[all …]
H A DSemaObjCProperty.cpp1390 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1736 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
H A DSemaExprCXX.cpp5015 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
6716 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
H A DSemaOverload.cpp1747 if (FromType->isArithmeticType()) { in IsVectorConversion()
1956 (FromType->isArithmeticType() || in IsStandardConversion()
1972 } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) || in IsStandardConversion()
1973 (ToType->isAnyComplexType() && FromType->isArithmeticType())) { in IsStandardConversion()
8213 HasArithmeticOrEnumeralTypes || Ty->isArithmeticType(); in AddTypesConvertedFrom()
H A DSemaOpenMP.cpp19344 (S.getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in actOnOMPReductionKindClause()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp2176 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp3448 assert(BO->getRHS()->getType().getCanonicalType()->isArithmeticType() && in EmitDiv()
H A DCGExpr.cpp2969 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()