Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h580 (LTy->isArithmeticType() && RTy->isArithmeticType())) { in doTypeConversion()
/external/clang/lib/Sema/
DSemaCast.cpp2498 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
2499 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
2508 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
2510 DestType->isArithmeticType()) { in CheckCStyleCast()
DSemaExpr.cpp1339 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
3538 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
4073 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
6676 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
7370 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
7422 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
8061 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
8376 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
8450 if (!compType.isNull() && compType->isArithmeticType()) { in CheckSubtractionOperands()
9157 if (LHSType->isArithmeticType() && RHSType->isArithmeticType()) in CheckCompareOperands()
[all …]
DSemaObjCProperty.cpp1201 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1517 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
DSemaExprCXX.cpp3966 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
5303 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
DSemaOpenMP.cpp9263 (getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in ActOnOpenMPReductionClause()
/external/clang/include/clang/AST/
DCanonicalType.h267 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
DType.h1651 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
5454 (isArithmeticType() && !isEnumeralType());
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h283 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
DType.h1995 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
6611 (isArithmeticType() && !isEnumeralType());
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp2879 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
2880 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
2889 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
2891 DestType->isArithmeticType()) { in CheckCStyleCast()
DSemaExpr.cpp1519 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
4003 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
4533 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
8191 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
9053 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
9120 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
9792 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) in tryGCCVectorConvertAndSplat()
10197 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
10526 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
10622 if (!compType.isNull() && compType->isArithmeticType()) { in CheckSubtractionOperands()
[all …]
DSemaObjCProperty.cpp1398 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1745 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
DSemaOverload.cpp1641 if (FromType->isArithmeticType()) { in IsVectorConversion()
1850 (FromType->isArithmeticType() || in IsStandardConversion()
1866 } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) || in IsStandardConversion()
1867 (ToType->isAnyComplexType() && FromType->isArithmeticType())) { in IsStandardConversion()
8010 HasArithmeticOrEnumeralTypes || Ty->isArithmeticType(); in AddTypesConvertedFrom()
DSemaExprCXX.cpp4731 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
6298 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
DSemaOpenMP.cpp15229 (S.getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in actOnOMPReductionKindClause()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp842 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp970 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
/external/clang/lib/AST/
DType.cpp1814 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/external/llvm-project/clang/lib/AST/
DType.cpp2124 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/external/clang/lib/CodeGen/
DCGExpr.cpp2248 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp2899 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()