Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1094 if ((SrcType->isIntegralType(Context) || SrcType->isEnumeralType()) && in argTypeIsABIEquivalent()
1095 (DestType->isIntegralType(Context) || DestType->isEnumeralType())) in argTypeIsABIEquivalent()
1387 } else if (DestType->isIntegralType(Self.Context)) { in TryStaticCast()
2208 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
2368 if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
2402 if ((!destIsVector && !DestType->isIntegralType(Self.Context)) || in TryReinterpretCast()
2403 (!srcIsVector && !SrcType->isIntegralType(Self.Context))) in TryReinterpretCast()
2464 if (DestType->isIntegralType(Self.Context)) { in TryReinterpretCast()
3151 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3161 if (!DestType->isIntegralType(Self.Context) && in CheckCStyleCast()
H A DSemaSwift.cpp153 if (RT->isIntegralType(S.Context)) in handleError()
235 if (!ErrorParam->isIntegralType(S.Context)) { in checkSwiftAsyncErrorBlock()
H A DSemaExprCXX.cpp4540 else if (FromType->isIntegralType(Context)) in PerformImplicitConversion()
4544 else if (ToType->isIntegralType(Context)) in PerformImplicitConversion()
5219 return T->isIntegralType(C); in EvaluateUnaryTypeTrait()
6634 return EltTy->isIntegralType(Ctx); in isValidVectorForConditionalCondition()
6644 return EltTy->isIntegralType(Ctx); in isValidSizelessVectorForConditionalCondition()
H A DSemaExpr.cpp7579 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
9829 if (vectorEltTy->isIntegralType(S.Context)) { in tryVectorConvertAndSplat()
9836 if (!scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
9848 else if (scalarTy->isIntegralType(S.Context)) in tryVectorConvertAndSplat()
10003 if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10004 ScalarTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10011 } else if (VectorEltTy->isIntegralType(S.Context) && in tryGCCVectorConvertAndSplat()
10045 } else if (ScalarTy->isIntegralType(S.Context)) { in tryGCCVectorConvertAndSplat()
15048 if ((Opc == BO_Shl && LHSExpr->getType()->isIntegralType(Self.getASTContext())) in DiagnoseBinOpPrecedence()
H A DSemaOverload.cpp396 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
1946 if ((FromType->isRealFloatingType() && ToType->isIntegralType(S.Context)) || in IsVectorElementConversion()
1959 ToType->isIntegralType(S.Context)) { in IsVectorElementConversion()
2257 ToType->isIntegralType(S.Context)) { in IsStandardConversion()
2275 ToType->isIntegralType(S.Context)) || in IsStandardConversion()
2570 if (FromType->isIntegralType(Context) && in IsIntegralPromotion()
H A DSemaDeclAttr.cpp1426 if (!Ty->isDependentType() && !Ty->isIntegralType(Context) && in AddAllocAlignAttr()
2804 !ParmType->isIntegralType(S.getASTContext()))) { in handleVecTypeHint()
H A DSemaExprObjC.cpp4454 if (castACTC == ACTC_none && castType->isIntegralType(Context)) in CheckObjCConversion()
H A DSemaDecl.cpp7920 if (!R->isIntegralType(Context) && !R->isPointerType()) { in ActOnVariableDeclarator()
19334 assert((T->isIntegralType(Context) || T->isEnumeralType()) && in isRepresentableIntegerValue()
19351 assert((T->isIntegralType(Context) || in getNextLargerIntegralType()
H A DSemaChecking.cpp10125 if (T->isIntegralType(S.Context)) { in AnalyzeComparison()
10779 if (ObjC().isSignedCharBool(T) && Source->isIntegralType(Context)) { in CheckImplicitConversion()
H A DSemaOpenMP.cpp19067 !Ty->isIntegralType(getASTContext()) && !Ty->isPointerType())) { in CheckOpenMPLinearDecl()
23534 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
23599 if (!Step->getType()->isIntegralType(Context)) { in ActOnOMPIteratorExpr()
H A DSemaTemplate.cpp3076 if (!OrigType->isDependentType() && !OrigType->isIntegralType(Context)) { in checkBuiltinTemplateIdType()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPrimType.h72 constexpr bool isIntegralType(PrimType T) { return T <= PT_Bool; } in isIntegralType() function
H A DCompiler.cpp3165 if (isIntegralType(SecondFieldT)) { in VisitCXXStdInitializerListExpr()
4908 assert(isIntegralType(*T)); in VisitUnaryOperator()
4957 assert(isIntegralType(*T)); in VisitUnaryOperator()
5313 if (isIntegralType(ToT) || ToT == PT_Bool) in emitPrimCast()
5317 if (isIntegralType(FromT) || FromT == PT_Bool) { in emitPrimCast()
5324 if (isIntegralType(ToT) || ToT == PT_Bool) in emitPrimCast()
H A DInterpBuiltin.cpp1013 if (isIntegralType(FirstArgT)) { in interp__builtin_is_aligned_up_down()
H A DInterp.h685 assert(isIntegralType(Name) && in Neg()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h469 bool isIntegralType() const { in isIntegralType() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h276 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralType)
H A DType.h2475 bool isIntegralType(const ASTContext &Ctx) const;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3106 E->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
3108 SubExpr->getType()->isIntegralType(Ctx)) && in IgnoreParenNoopCasts()
3952 if (isTypeDependent() || getType()->isIntegralType(Ctx)) in isNullPointerConstant()
H A DType.cpp2058 bool Type::isIntegralType(const ASTContext &Ctx) const { in isIntegralType() function in Type
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2662 if (SubExpr->getType()->isIntegralType(*Context) && type->isBooleanType()) in RewriteObjCBoxedExpr()
3438 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr()
3461 if (userExpr->getType()->isIntegralType(*Context)) { in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp308 getArgType(FD, ArgN)->isIntegralType(FD->getASTContext()); in checkSpecificValidity()