|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/Type.h 1945 bool isIntegerType() const; // C99 6.2.5p17 (int, char, bool, enum)
References
tools/clang/include/clang/AST/Expr.h 2441 bool lhsIsBase() const { return getRHS()->getType()->isIntegerType(); }
tools/clang/include/clang/AST/Type.h 6706 return isFixedPointType() || isIntegerType();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 5027 return Node->isIntegerType();
tools/clang/lib/AST/ASTContext.cpp 8837 if (isBlockReturnType && other->isIntegerType() &&
10709 assert((Ty->isFixedPointType() || Ty->isIntegerType()) &&
10712 if (Ty->isIntegerType())
tools/clang/lib/AST/Expr.cpp 918 assert(type->isIntegerType() && "Illegal type in IntegerLiteral");
2111 if (!RHS->getType()->isIntegerType())
2115 if (!LHS->getType()->isIntegerType())
2276 if (!AT || !AT->getElementType()->isIntegerType())
3721 CE->getSubExpr()->getType()->isIntegerType()) // from int
3773 if (!getType()->isIntegerType() ||
tools/clang/lib/AST/ExprCXX.cpp 972 if (ParamTy->isIntegerType())
tools/clang/lib/AST/ExprConstant.cpp 2949 assert(CharType->isIntegerType() && "unexpected character type");
2969 assert(CharType->isIntegerType() && "unexpected character type");
3842 if (!SubobjType->isIntegerType()) {
3976 if (!SubobjType->isIntegerType()) {
9269 if (SETy->isIntegerType()) {
9310 } else if (EltTy->isIntegerType()) {
9354 } else if (EltTy->isIntegerType()) {
9383 if (EltTy->isIntegerType())
9881 if (E->getType()->isIntegerType()) {
12668 assert(SubExpr->getType()->isIntegerType() &&
tools/clang/lib/AST/ItaniumMangle.cpp 3983 !ImplicitlyConvertedToType->isIntegerType())? SAE->getType()
tools/clang/lib/AST/Type.cpp 552 if (Complex->getElementType()->isIntegerType())
1818 return VT->getElementType()->isIntegerType();
1820 return isIntegerType();
tools/clang/lib/Analysis/BodyFarm.cpp 489 if (!PredicateTy->isIntegerType())
tools/clang/lib/CodeGen/CGBuiltin.cpp 496 assert(Type->isIntegerType() && "Given type is not an integer.");
tools/clang/lib/CodeGen/CGCall.cpp 3633 if (Arg->getType()->isIntegerType() &&
tools/clang/lib/CodeGen/CGExpr.cpp 1903 assert((LV.getType()->isIntegerType() || LV.getType()->isPointerType()) &&
2163 assert((Dst.getType()->isIntegerType() || Dst.getType()->isPointerType()) &&
2799 if (T->isIntegerType()) {
tools/clang/lib/CodeGen/CGExprCXX.cpp 1355 if (AI != AE && (*AI)->isIntegerType()) {
tools/clang/lib/CodeGen/CGExprScalar.cpp 861 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) &&
987 if (!(SrcType->isIntegerType() && DstType->isIntegerType()))
987 if (!(SrcType->isIntegerType() && DstType->isIntegerType()))
1098 if (!(SrcType->isIntegerType() && DstType->isIntegerType()))
1098 if (!(SrcType->isIntegerType() && DstType->isIntegerType()))
1189 if (DstType->isFixedPointType() || DstType->isIntegerType())
1195 if (SrcType->isIntegerType())
1264 assert(SrcType->isIntegerType() && "Not ptr->ptr or int->ptr conversion?");
1416 DstTy->isIntegerType());
2221 assert(DestTy->isIntegerType() && "Expected dest type to be an integer");
2226 assert(E->getType()->isIntegerType() &&
2379 if (!type->isBooleanType() && type->isIntegerType() &&
2421 } else if (type->isIntegerType()) {
2847 if (!type->isBooleanType() && type->isIntegerType() &&
2998 Ops.Ty->isIntegerType() &&
3039 Ops.Ty->isIntegerType() &&
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp10411 if (QT->isIntegerType())
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2823 if (CastTy->isIntegerType() && ValTy->isIntegerType())
2823 if (CastTy->isIntegerType() && ValTy->isIntegerType())
tools/clang/lib/CodeGen/TargetInfo.cpp 4208 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64;
4210 Ty->isIntegerType() || Ty->isPointerType() || Ty->isAggregateType();
6375 if (!Context.getTargetInfo().hasInt128Type() && T->isIntegerType() &&
7256 if ((Ty->isIntegerType() &&
7285 llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType()
8320 if (Size < 64 && Ty->isIntegerType())
tools/clang/lib/Sema/SemaCast.cpp 2454 && (SrcExpr.get()->getType()->isIntegerType()
2561 if (SrcType->isIntegerType() && DestType->isIntegerType() &&
2561 if (SrcType->isIntegerType() && DestType->isIntegerType() &&
2700 (SrcType->isIntegerType() || SrcType->isFloatingType())) {
tools/clang/lib/Sema/SemaChecking.cpp 137 if (!Ty->isIntegerType()) {
212 if (!Ty->isIntegerType()) {
232 if (!(PtrTy && PtrTy->getPointeeType()->isIntegerType() &&
652 if (!Arg1->getType()->isIntegerType()) {
703 if (!Arg3->getType()->isIntegerType()) {
856 if (!Arg2->getType()->isIntegerType() &&
890 if (!Call->getArg(1)->getType()->isIntegerType() &&
1794 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
4728 if (IsAddSub && !ValType->isIntegerType()
4742 if (!IsAddSub && !IsMinMax && !ValType->isIntegerType()) {
4752 } else if (IsN && !ValType->isIntegerType() && !ValType->isPointerType()) {
4865 if (Form == Init || (Form == Arithmetic && ValType->isIntegerType()))
5057 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
5431 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
6364 if (!SecArgType->isIntegerType())
6409 if (!SecArgType->isIntegerType())
10501 return E->getType()->isIntegerType() &&
11736 } else if (Target->isIntegerType()) {
11759 if (Source->isIntegerType()) {
11784 if (SourceBT && TargetBT && SourceBT->isIntegerType() &&
11836 if (!Source->isIntegerType() || !Target->isIntegerType())
11836 if (!Source->isIntegerType() || !Target->isIntegerType())
12157 if (!E->getType()->isIntegerType()) {
12391 if (!ReturnType->isIntegerType())
14649 if (!T->isPointerType() && !T->isIntegerType())
14657 (T->isIntegerType() ||
tools/clang/lib/Sema/SemaCodeComplete.cpp 7605 (ReturnType->isIntegerType() || ReturnType->isBooleanType())) ||
7606 (ReturnType.isNull() && (Property->getType()->isIntegerType() ||
7677 (ReturnType.isNull() || ReturnType->isIntegerType())) {
8133 (ReturnType.isNull() || ReturnType->isIntegerType() ||
tools/clang/lib/Sema/SemaDeclAttr.cpp 459 return QT->isBooleanType() || QT->isIntegerType();
854 if (!Param->getType()->isIntegerType() && !Param->getType()->isCharType()) {
1697 if (!T->isIntegerType())
tools/clang/lib/Sema/SemaDeclCXX.cpp14088 } else if (ParamType->isIntegerType()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 3433 return (chosen->getReturnType()->isIntegerType());
tools/clang/lib/Sema/SemaExpr.cpp 957 if (IntTy->isIntegerType()) {
1032 if (IntTy->isIntegerType()) {
3370 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) {
4738 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent())
7118 !Int.get()->getType()->isIntegerType())
7161 if (!LHSType->isIntegerType() && !LHSType->isRealFloatingType()) {
7167 if (!RHSType->isIntegerType() && !RHSType->isRealFloatingType()) {
7240 if (EleTy->isIntegerType()) return false;
8289 if (RHSType->isIntegerType()) {
8346 if (RHSType->isIntegerType()) {
8382 if (RHSType->isIntegerType()) {
8428 if (LHSType->isIntegerType()) {
8445 if (LHSType->isIntegerType()) {
8461 if (LHSType->isSamplerT() && RHSType->isIntegerType()) {
8788 (scalarTy->isIntegerType() &&
8837 auto Cast = ElementType->isIntegerType() ? CK_IntegralCast : CK_FloatingCast;
9054 LHSVecType->getElementType()->isIntegerType() &&
9062 RHSVecType->getElementType()->isIntegerType()) {
9311 if (compType.isNull() || !compType->isIntegerType())
9549 CharType->isIntegerType() &&
9633 if (!IExp->getType()->isIntegerType())
9712 if (RHS.get()->getType()->isIntegerType()) {
9908 if (!LHSEleType->isIntegerType()) {
9914 if (!RHSEleType->isIntegerType()) {
10750 if ((LHSType->isIntegerType() && !LHSIsNull) ||
10751 (RHSType->isIntegerType() && !RHSIsNull)) {
11009 if ((LHSType->isAnyPointerType() && RHSType->isIntegerType()) ||
11010 (LHSType->isIntegerType() && RHSType->isAnyPointerType())) {
11016 } else if ((LHSIsNull && LHSType->isIntegerType()) ||
11017 (RHSIsNull && RHSType->isIntegerType())) {
11040 if (LHSType->isIntegerType())
11051 && LHSType->isBlockPointerType() && RHSType->isIntegerType()) {
11056 && LHSType->isIntegerType() && RHSType->isBlockPointerType()) {
11360 if (!EnumConstantInBoolContext && LHS.get()->getType()->isIntegerType() &&
11362 RHS.get()->getType()->isIntegerType() && !RHS.get()->isValueDependent() &&
12173 ResType->castAs<VectorType>()->getElementType()->isIntegerType()) {
13557 if (!T->isIntegerType())
13591 if (!resultType->isIntegerType() && !resultType->isPointerType())
13602 if (!T->isIntegerType())
13901 !Idx->getType()->isIntegerType())
tools/clang/lib/Sema/SemaExprCXX.cpp 4188 assert(From->getType()->isIntegerType());
4219 assert(ToType->isIntegerType());
tools/clang/lib/Sema/SemaExprObjC.cpp 859 if (!Method->parameters()[1]->getType()->isIntegerType()) {
1015 if (!CountType->isIntegerType()) {
2742 ReceiverType->isIntegerType())) {
tools/clang/lib/Sema/SemaInit.cpp 8489 if (!SourceType->isSamplerT() && !SourceType->isIntegerType()) {
8523 if (!SourceType->isIntegerType() ||
tools/clang/lib/Sema/SemaOpenMP.cpp 1712 (Ty->isIntegerType() && Context.getTypeSize(Ty) == 128 &&
5950 if (VarType->isIntegerType() || VarType->isPointerType() ||
6167 if (!Type->isIntegerType() || UseVarType) {
6422 if (VarType->isIntegerType() || VarType->isPointerType() ||
6606 if (!VarType->isDependentType() && !VarType->isIntegerType() &&
13456 if (Type->isIntegerType() || Type->isPointerType()) {
tools/clang/lib/Sema/SemaOverload.cpp 2058 if (ToType->isIntegerType() &&
2082 ToType->isIntegerType()) {
2263 Expr->getType()->isIntegerType() && !Expr->getType()->isEnumeralType())
tools/clang/lib/Sema/SemaStmt.cpp 1267 SrcType->isIntegerType()) {
4193 if(!FilterExpr->getType()->isIntegerType()) {
tools/clang/lib/Sema/SemaStmtAsm.cpp 586 if (InTy->isIntegerType() || InTy->isPointerType())
593 if (OutTy->isIntegerType() || OutTy->isPointerType())
tools/clang/lib/Sema/SemaType.cpp 2355 (!CurType->isIntegerType() && !CurType->isRealFloatingType()))) {
2413 if ((!T->isDependentType() && !T->isIntegerType() &&
tools/clang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp 137 if (!DestType->isRealType() || !SubType->isIntegerType())
tools/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp 327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) {
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) {
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp 73 if (getDecl()->getType()->isIntegerType())
tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp 190 if (!QT->isIntegerType()) {
tools/clang/tools/extra/clang-tidy/abseil/DurationConversionCastCheck.cpp 53 if (MatchedCast->getTypeAsWritten()->isIntegerType() &&
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp 19 return Node.isIntegerType() && !Node.isAnyCharacterType() &&
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp 103 if (!Var->getType().getTypePtr()->isIntegerType())
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp 88 return T->isIntegerType() ? Context.getIntWidth(T) : 1024U;
tools/clang/tools/extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp 101 assert(IntExprType->isIntegerType());
122 if (!RHSEType->isIntegerType() || !LHSEType->isIntegerType())
122 if (!RHSEType->isIntegerType() || !LHSEType->isIntegerType())
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp 74 if (TypePtr->isIntegerType())
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp 256 return Idx && Idx->getType()->isIntegerType() &&
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp 104 !(T->getPointeeType()->isIntegerType() ||
tools/clang/tools/extra/clangd/ExpectedTypes.cpp 30 if (T->isIntegerType() && !T->isEnumeralType())
tools/lldb/source/Symbol/ClangASTContext.cpp 4031 if (complex_element_type->isIntegerType())
4164 if (vector_type->isIntegerType())