Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DMultiwayPathsCoveredCheck.cpp86 if (T->isIntegralType(Context)) in getNumberOfPossibleValues()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp1054 if (SrcType->isIntegralType(Context) && DestType->isIntegralType(Context)) in argTypeIsABIEquivalent()
1332 } else if (DestType->isIntegralType(Self.Context)) { in TryStaticCast()
2152 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
2312 if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2340 if ((!destIsVector && !DestType->isIntegralType(Self.Context)) || in TryReinterpretCast()
2341 (!srcIsVector && !SrcType->isIntegralType(Self.Context))) in TryReinterpretCast()
2402 if (DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
3048 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3058 if (!DestType->isIntegralType(Self.Context) && in CheckCStyleCast()
H A DSemaExpr.cpp5373 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5431 if (!Step->getType()->isIntegralType(Context)) { in ActOnOMPIteratorExpr()
7843 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
10160 if (vectorEltTy->isIntegralType(S.Context)) { in tryVectorConvertAndSplat()
10167 if (!scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
10179 else if (scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
10334 if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10335 ScalarTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10342 } else if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10376 } else if (ScalarTy->isIntegralType(S.Context)) { in tryGCCVectorConvertAndSplat()
[all …]
H A DSemaDeclAttr.cpp1747 if (!Ty->isDependentType() && !Ty->isIntegralType(Context) && in AddAllocAlignAttr()
3250 !ParmType->isIntegralType(S.getASTContext()))) { in handleVecTypeHint()
6178 if (RT->isIntegralType(S.Context)) in handleSwiftError()
6258 if (!ErrorParam->isIntegralType(S.Context)) { in checkSwiftAsyncErrorBlock()
H A DSemaExprCXX.cpp4883 return T->isIntegralType(C); in EvaluateUnaryTypeTrait()
6147 return EltTy->isIntegralType(Ctx); in isValidVectorForConditionalCondition()
6157 return EltTy->isIntegralType(Ctx); in isValidSizelessVectorForConditionalCondition()
H A DSemaOverload.cpp344 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
1857 ToType->isIntegralType(S.Context)) { in IsStandardConversion()
1894 ToType->isIntegralType(S.Context)) || in IsStandardConversion()
2190 if (FromType->isIntegralType(Context) && in IsIntegralPromotion()
H A DSemaExprObjC.cpp4447 if (castACTC == ACTC_none && castType->isIntegralType(Context)) in CheckObjCConversion()
H A DSemaDecl.cpp7795 if (!R->isIntegralType(Context) && !R->isPointerType()) { in ActOnVariableDeclarator()
18438 assert((T->isIntegralType(Context) || T->isEnumeralType()) && in isRepresentableIntegerValue()
18455 assert((T->isIntegralType(Context) || in getNextLargerIntegralType()
H A DSemaChecking.cpp12835 if (T->isIntegralType(S.Context)) { in AnalyzeComparison()
13599 if (isObjCSignedCharBool(S, T) && Source->isIntegralType(S.Context)) { in CheckImplicitConversion()
H A DSemaTemplate.cpp3510 if (!Converted[1].getAsType()->isIntegralType(Context)) { in checkBuiltinTemplateIdType()
H A DSemaOpenMP.cpp19621 !Ty->isIntegralType(Context) && !Ty->isPointerType())) { in CheckOpenMPLinearDecl()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h469 bool isIntegralType() const { in isIntegralType() function
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h276 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralType)
H A DType.h2055 bool isIntegralType(const ASTContext &Ctx) const;
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp636 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp2989 E->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
2991 SubExpr->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
3790 if (isTypeDependent() || getType()->isIntegralType(Ctx)) in isNullPointerConstant()
H A DType.cpp1930 bool Type::isIntegralType(const ASTContext &Ctx) const { in isIntegralType() function in Type
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2663 if (SubExpr->getType()->isIntegralType(*Context) && type->isBooleanType()) in RewriteObjCBoxedExpr()
3439 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
3462 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
H A DRewriteObjC.cpp2868 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
2891 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp231 getArgType(FD, ArgN)->isIntegralType(FD->getASTContext()); in checkSpecificValidity()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp4251 if (rettype->isIntegralType(ctx) || rettype->isRealFloatingType()) { in evaluateExpr()
4253 !callExpr->getArg(0)->getType()->isIntegralType(ctx)) in evaluateExpr()