Home
last modified time | relevance | path

Searched refs:isIntegralType (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DMultiwayPathsCoveredCheck.cpp86 else if (T->isIntegralType(Context)) in getNumberOfPossibleValues()
/external/clang/lib/Sema/
DSemaCast.cpp1015 } else if (DestType->isIntegralType(Self.Context)) { in TryStaticCast()
1826 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
1979 if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2001 if ((!destIsVector && !DestType->isIntegralType(Self.Context)) || in TryReinterpretCast()
2002 (!srcIsVector && !SrcType->isIntegralType(Self.Context))) in TryReinterpretCast()
2053 if (DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2499 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
2509 if (!DestType->isIntegralType(Self.Context) && in CheckCStyleCast()
DSemaOverload.cpp322 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
324 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
1662 ToType->isIntegralType(S.Context)) { in IsStandardConversion()
1694 ToType->isIntegralType(S.Context)) || in IsStandardConversion()
1943 if (FromType->isIntegralType(Context) && in IsIntegralPromotion()
DSemaExpr.cpp5852 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
7839 if (vectorEltTy->isIntegralType(S.Context)) { in tryVectorConvertAndSplat()
7840 if (!scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
7853 else if (scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
11177 if ((Opc == BO_Shl && LHSExpr->getType()->isIntegralType(Self.getASTContext())) in DiagnoseBinOpPrecedence()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp1232 } else if (DestType->isIntegralType(Self.Context)) { in TryStaticCast()
2044 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
2203 if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2231 if ((!destIsVector && !DestType->isIntegralType(Self.Context)) || in TryReinterpretCast()
2232 (!srcIsVector && !SrcType->isIntegralType(Self.Context))) in TryReinterpretCast()
2283 if (DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2880 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
2890 if (!DestType->isIntegralType(Self.Context) && in CheckCStyleCast()
DSemaExpr.cpp5137 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5195 if (!Step->getType()->isIntegralType(Context)) { in ActOnOMPIteratorExpr()
7353 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
9640 if (vectorEltTy->isIntegralType(S.Context)) { in tryVectorConvertAndSplat()
9647 if (!scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
9659 else if (scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
9806 if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
9807 ScalarTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
9814 } else if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
9848 } else if (ScalarTy->isIntegralType(S.Context)) { in tryGCCVectorConvertAndSplat()
[all …]
DSemaDeclAttr.cpp1667 if (!Ty->isDependentType() && !Ty->isIntegralType(Context) && in AddAllocAlignAttr()
2944 !ParmType->isIntegralType(S.getASTContext()))) { in handleVecTypeHint()
5686 if (RT->isIntegralType(S.Context)) in handleSwiftError()
DSemaOverload.cpp345 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
1858 ToType->isIntegralType(S.Context)) { in IsStandardConversion()
1894 ToType->isIntegralType(S.Context)) || in IsStandardConversion()
2189 if (FromType->isIntegralType(Context) && in IsIntegralPromotion()
DSemaExprCXX.cpp4702 return T->isIntegralType(C); in EvaluateUnaryTypeTrait()
5928 return EltTy->isIntegralType(Ctx); in isValidVectorForConditionalCondition()
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h468 bool isIntegralType() const { in isIntegralType() function
/external/clang/lib/Analysis/
DBodyFarm.cpp293 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
/external/clang/include/clang/AST/
DCanonicalType.h260 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralType)
DType.h1635 bool isIntegralType(const ASTContext &Ctx) const;
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h276 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralType)
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp607 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
/external/clang/lib/AST/
DExpr.cpp2462 E->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
2464 SE->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
3139 if (isTypeDependent() || getType()->isIntegralType(Ctx)) in isNullPointerConstant()
DType.cpp1625 bool Type::isIntegralType(const ASTContext &Ctx) const { in isIntegralType() function in Type
/external/llvm-project/clang/lib/AST/
DExpr.cpp2810 E->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
2812 SubExpr->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
3608 if (isTypeDependent() || getType()->isIntegralType(Ctx)) in isNullPointerConstant()
DType.cpp1915 bool Type::isIntegralType(const ASTContext &Ctx) const { in isIntegralType() function in Type
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2662 if (SubExpr->getType()->isIntegralType(*Context) && type->isBooleanType()) in RewriteObjCBoxedExpr()
3448 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
3471 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
DRewriteObjC.cpp2878 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
2901 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2656 if (SubExpr->getType()->isIntegralType(*Context) && type->isBooleanType()) in RewriteObjCBoxedExpr()
3445 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
3468 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
DRewriteObjC.cpp2865 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
2888 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp199 getArgType(FD, ArgN)->isIntegralType(FD->getASTContext()); in checkSpecificValidity()
/external/clang/tools/libclang/
DCIndex.cpp3622 if (rettype->isIntegralType(ctx) || rettype->isRealFloatingType()) { in evaluateExpr()
3624 !callExpr->getArg(0)->getType()->isIntegralType(ctx)) in evaluateExpr()

12