reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Type.h
 2000   bool isArrayType() const;

References

tools/clang/include/clang/AST/Type.h
 6369   return isArrayType() ||
 6786   return isFunctionType() || isArrayType();
 6809   else if (type->isArrayType())
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
  308     return T->isArrayType() || T->isRecordType() ||
tools/clang/lib/ARCMigrate/Transforms.cpp
  366     if (T->isArrayType())
tools/clang/lib/AST/ASTContext.cpp
 2516   if (Ty->isArrayType())
 2992   assert((T->isArrayType() || T->isFunctionType()) && "T does not decay");
 3001   if (T->isArrayType())
 5602   if (T->isArrayType() || T->isFunctionType())
 5621   if (T->isArrayType() || T->isFunctionType())
 5893     if (T->isArrayType())
 6282   else if (type->isArrayType())
 9575     if (Type->isArrayType())
 9725     if (Ty->isArrayType())
tools/clang/lib/AST/ASTImporter.cpp
 1551       while (T->isPointerType() || T->isArrayType()) {
tools/clang/lib/AST/Expr.cpp
 3197     if (ILE->getType()->isArrayType()) {
 4670       assert (OriginalTy->isArrayType());
tools/clang/lib/AST/ExprCXX.cpp
 1014           SubExpr->getType()->isArrayType()) &&
tools/clang/lib/AST/ExprClassification.cpp
   80   if (T->isArrayType())
  217       if (Base->getType()->isArrayType())
tools/clang/lib/AST/ExprConstant.cpp
  205       if (Type->isArrayType()) {
 1582         assert(getType(Base)->isPointerType() || getType(Base)->isArrayType());
 1936     if (Ty->isArrayType())
 3259     if (ObjType->isArrayType()) {
 3457         (ObjType->isArrayType() || ObjType->isAnyComplexType())) {
 5358       if (!Base->getType()->isArrayType())
 6555   if (Ty->isArrayType() &&
 8585     assert(!AllocType->isArrayType() &&
 9455   assert(E->isRValue() && E->getType()->isArrayType() && "not an array rvalue");
 9462   assert(ILE->isRValue() && ILE->getType()->isArrayType() &&
10275     if (BaseType->isArrayType()) {
13311   } else if (T->isArrayType()) {
13332     if (Unqual->isArrayType() || Unqual->isRecordType()) {
13366     if (T->isArrayType())
13372       if (Unqual->isArrayType() || Unqual->isRecordType())
13437   if (Exp->isRValue() && (Exp->getType()->isArrayType() ||
13603   if (isRValue() && (getType()->isArrayType() || getType()->isRecordType()) &&
tools/clang/lib/AST/ItaniumMangle.cpp
 4440   assert(!parm->getType()->isArrayType()
tools/clang/lib/AST/MicrosoftMangle.cpp
  577     if (AT->getElementType()->isArrayType())
 1767     if (OriginalType->isArrayType())
tools/clang/lib/AST/Type.cpp
   83   else if (ty->isArrayType())
 2247   if ((*this)->isArrayType())
 2289   if ((*this)->isArrayType())
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3862         EventWaitList = E->getArg(4)->getType()->isArrayType()
 4031       if (Arg0Ty->isArrayType())
 4069       if (Arg1Ty->isArrayType())
tools/clang/lib/CodeGen/CGDecl.cpp
 1415     if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) &&
 1934       assert(!type->isArrayType());
 1960       assert(!type->isArrayType());
 2147   assert(!elementType->isArrayType());
tools/clang/lib/CodeGen/CGExpr.cpp
  336     if (E->getType()->isArrayType()) {
  384         (Ty->isArrayType() || Ty->isRecordType()) &&
 2208     LV.setObjCArray(E->getType()->isArrayType());
 2219     LV.setObjCArray(E->getType()->isArrayType());
 2279     LV.setObjCArray(E->getType()->isArrayType());
 3317   assert(E->getType()->isArrayType() &&
 3568     assert(Array->getType()->isArrayType() &&
 3615     if (BaseTy->isArrayType()) {
 3770     assert(Array->getType()->isArrayType() &&
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1482   if (E->getType()->isArrayType()) {
 2002   } else if (Ty->isArrayType()) {
tools/clang/lib/CodeGen/CGExprConstant.cpp
  699         (Field->getType()->isArrayType() || Field->getType()->isRecordType())) {
 1238     if (ILE->getType()->isArrayType())
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2418     assert(!type->isArrayType() && "array variable should not be caught");
 2937     assert(!type->isArrayType() && "array variable should not be caught");
 2970   assert(!T->isArrayType() && "__block array variable should not be caught");
 5219   assert(!fieldType->isArrayType() && "ivar of non-constant array type?");
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4808         if (Type->isArrayType()) {
 5628     if ((*IPriv)->getType()->isArrayType()) {
 5655   if (PrivateRef->getType()->isArrayType()) {
 5913         if ((*IPriv)->getType()->isArrayType()) {
 5937         if ((*IPriv)->getType()->isArrayType()) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  703   if (OriginalType->isArrayType()) {
  815         if (Type->isArrayType()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2001   if (getContext().getBuiltinVaListType()->isArrayType())
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
  164   if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType())
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
   71   } else if (type->isArrayType()) {
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
 1132   if (OrigTy->isArrayType())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 2152   if (T->isArrayType()) {
 3634   if (Type->isArrayType()) {
 3704   else if (EleboratedType && Type->isArrayType()) {
 3727   if (Type->isArrayType())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2068   if (T->isArrayType()) {
tools/clang/lib/Sema/SemaChecking.cpp
 9196     else if (ArgType->isArrayType())
 9701     } else if (DestTy->isArrayType()) {
12335   const bool IsArray = T->isArrayType();
tools/clang/lib/Sema/SemaDecl.cpp
 3858     else if (Old->getType()->isArrayType() && New->getType()->isArrayType()) {
 3858     else if (Old->getType()->isArrayType() && New->getType()->isArrayType()) {
 3877       if (OldArray->isIncompleteArrayType() && NewArray->isArrayType()) {
 3885       else if (OldArray->isArrayType() && NewArray->isIncompleteArrayType()) {
 5261     else if (Ty->isArrayType())
 8360   if (PT->isArrayType()) {
 8449   assert((PT->isArrayType() || PT->isRecordType()) && "Unexpected type.");
 8477       assert((FieldTy->isArrayType() || FieldTy->isRecordType()) &&
13158     if (T->isArrayType()) {
13219         (T->isArrayType() || T.getAddressSpace() == LangAS::opencl_private))) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 4375     else if (ParmType->isArrayType())
tools/clang/lib/Sema/SemaDeclCXX.cpp
 5676     if (T->isArrayType()) {
 9041   if (ConvType->isArrayType()) {
12305   if (T->isArrayType() && !T.isConstQualified() && !T.isVolatileQualified() &&
13595   if (!VD->getType()->isArrayType()) {
14267   if (ExDeclType->isArrayType())
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  114   if (T->isArrayType())
tools/clang/lib/Sema/SemaExpr.cpp
  459   } else if (Ty->isArrayType()) {
 1610     if (ArgTy[ArgIdx]->isArrayType())
 3887         if (Type->isPointerType() && OType->isArrayType()) {
 4325     return MSProp->getPropertyDecl()->getType()->isArrayType();
 4510   } else if (OriginalTy->isArrayType()) {
 4595         << (!OriginalTy.isNull() && OriginalTy->isArrayType());
 4625       if (Op->getType()->isArrayType() && !Op->isLValue())
 4707   } else if (LHSTy->isArrayType()) {
 4722   } else if (RHSTy->isArrayType()) {
 6052   if (literalType->isArrayType()) {
 6101       (getLangOpts().CPlusPlus && !(isFileScope && literalType->isArrayType()))
 7848                                    commonExpr->getType()->isArrayType())) {
10306   return D->getType()->isArrayType() && !D->isWeak();
10326   if (Opc == BO_Cmp && LHSType->isArrayType() && RHSType->isArrayType())
10326   if (Opc == BO_Cmp && LHSType->isArrayType() && RHSType->isArrayType())
12233       if (ICE->getSubExpr()->getType()->isArrayType())
14467     if (VaListType->isArrayType()) {
14693     if (SrcType->isArrayType()) SrcType = Context.getArrayDecayedType(SrcType);
15824   if (!Invalid && !S.getLangOpts().OpenCL && CaptureType->isArrayType()) {
16418     if (!OldBase->getType()->isArrayType())
17533   if (DestType->isArrayType() || DestType->isFunctionType()) {
17619   if (DestType->isArrayType() || DestType->isFunctionType()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
  598   else if (QT->isArrayType())
 1380   if (Ty->isArrayType()) {
 3335     if (Pointee->isArrayType() && !ArrayForm) {
 3644   else if (T->isArrayType())
 4518     return T->isArrayType();
 5163     if (RhsT->isFunctionType() || RhsT->isArrayType())
 5298     if (T->isArrayType()) {
 5322     if (T->isArrayType()) {
 5334       if (Matched && T->isArrayType()) {
tools/clang/lib/Sema/SemaInit.cpp
 1031   if (T->isArrayType())
 1077     if (!VerifyOnly && (T->isArrayType() || T->isRecordType()) &&
 1179     if (!ExprTy->isArrayType())
 1206       int initKind = T->isArrayType() ? 0 :
 1276   } else if (DeclType->isArrayType()) {
 3046   if (!ResultType->isArrayType())
 4835          T2->isArrayType())))) {
 5754         Initializer->getType()->isArrayType()) {
 7136     if (ILE->getType()->isArrayType()) {
tools/clang/lib/Sema/SemaObjCProperty.cpp
  641   if (T->isArrayType() || T->isFunctionType()) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 4801           if (!Ty || (!Ty->isArrayType() && !Ty->isPointerType())) {
12383     if (Type->isArrayType()) {
14058     if (!Ty || (!Ty->isArrayType() && !Ty->isPointerType())) {
14448            !ASE->getBase()->getType().getNonReferenceType()->isArrayType())) {
14758       if (!E->getType()->isAnyPointerType() && !E->getType()->isArrayType()) {
14804       if (!IsPointer && !CurType->isArrayType()) {
15124   if (Type->isArrayType()) {
15571   if (ReductionType->isArrayType()) {
16489         !Type.getNonReferenceType()->isArrayType()) {
tools/clang/lib/Sema/SemaOverload.cpp
 1711       !FromType->isFunctionType() && !FromType->isArrayType() &&
 1726   } else if (FromType->isArrayType()) {
 4702        (InitCategory.isPRValue() && (T2->isRecordType() || T2->isArrayType())) ||
 4909     if (ToType->isArrayType()) {
 4940   if (ToType->isArrayType())
 7659   if (PointeeTy->isArrayType())
 7720   if (PointeeTy->isArrayType())
 7761   if (Ty->isArrayType())
tools/clang/lib/Sema/SemaStmt.cpp
 2545             if (PointerTy->isPointerType() && ArrayTy->isArrayType()) {
tools/clang/lib/Sema/SemaTemplate.cpp
 1095   if (T->isArrayType() || T->isFunctionType())
 6167       if (Var->getType()->isArrayType()) {
 6518           VD && VD->getType()->isArrayType() &&
 6948   if (ParamType->isArrayType())
 7028         (T->isFunctionType() || T->isArrayType())) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3627     if (ArgType->isArrayType())
 4187     if (P->isArrayType())
tools/clang/lib/Sema/SemaType.cpp
 2452   if (T->isArrayType() || T->isFunctionType()) {
 4370         T->isArrayType() && !T->getNullability(S.Context) && !isVaList(T) &&
 4606       if (!D.isInvalidType() && (T->isArrayType() || T->isFunctionType()) &&
 6612       !(allowOnArrayType && desugared->isArrayType())) {
 6623     if (desugared->isArrayType())
 7644           type->isArrayType() ||
 8438     if (T->isArrayType())
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 2285     if (!D->getType()->isArrayType())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  326     if (T->isArrayType()) {
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
  197   if (PointeeT->isArrayType()) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  858       if (Init->getType()->isArrayType()) {
 2607       if (M->isGLValue() || M->getType()->isArrayType()) {
 2613           assert(M->getType()->isArrayType());
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  743       (T->isArrayType() || T->isRecordType() || T->isVectorType() ||
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1509   if (RTy->isArrayType()) {
 2176     if (Ty->isArrayType())
 2214   else if (T->isStructureOrClassType() || T->isArrayType()) {
 2275     else if (ElementTy->isArrayType())
 2320     if (ElemType->isArrayType())
 2471     if (FTy->isArrayType())
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
   59   if (type->isArrayType() || type->isRecordType() || type->isVectorType() ||
tools/clang/tools/extra/clang-tidy/modernize/UseUsingCheck.cpp
   95   if (MatchedDecl->getUnderlyingType()->isArrayType() || StartLoc.isMacroID())
tools/clang/tools/extra/clang-tidy/mpi/BufferDerefCheck.cpp
   94       } else if (BufferType->isArrayType()) {
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp
   95         T->isArrayType())
tools/clang/tools/extra/clang-tidy/utils/TypeTraits.cpp
   96   if (Type->isArrayType())
tools/clang/tools/extra/clangd/ExpectedTypes.cpp
   36   if (T->isArrayType()) // Decay arrays to pointers.