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

Declarations

tools/clang/include/clang/AST/ASTContext.h
 2449   const ArrayType *getAsArrayType(QualType T) const;

References

tools/clang/include/clang/AST/ASTContext.h
 2451     return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T));
 2454     return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T));
 2457     return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T));
 2461     return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T));
tools/clang/lib/AST/APValue.cpp
  620         ElemTy = Ctx.getAsArrayType(ElemTy)->getElementType();
  635     const ArrayType *AT = Ctx.getAsArrayType(Ty);
tools/clang/lib/AST/ASTContext.cpp
 1641       if (const ArrayType *arrayType = getAsArrayType(T)) {
 5231     auto *AT1 = getAsArrayType(T1);
 5234     auto *AT2 = getAsArrayType(T2);
 5637   const ArrayType *PrettyArrayType = getAsArrayType(Ty);
 9047     QualType LHSElem = getAsArrayType(LHS)->getElementType();
 9048     QualType RHSElem = getAsArrayType(RHS)->getElementType();
tools/clang/lib/AST/ASTImporter.cpp
 3701           = Importer.getToContext().getAsArrayType(FoundVar->getType());
 3703           = Importer.getToContext().getAsArrayType(D->getType());
tools/clang/lib/AST/ExprConstant.cpp
  206         const ArrayType *AT = Ctx.getAsArrayType(Type);
 8035     auto *AT = Info.Ctx.getAsArrayType(SubExpr->getType());
10268       BaseType = Ctx.getAsArrayType(BaseType)->getElementType();
10280       const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType));
11965       const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType);
tools/clang/lib/AST/ItaniumMangle.cpp
 2471     ty = Context.getASTContext().getAsArrayType(T);
tools/clang/lib/AST/MicrosoftMangle.cpp
  574   } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) {
 1756     if (const auto *AT = getASTContext().getAsArrayType(OriginalType))
 1887   if (const ArrayType *AT = getASTContext().getAsArrayType(T)) {
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 1768     const ArrayType* ATy = Context.getAsArrayType(D->getType());
tools/clang/lib/AST/Type.cpp
  106   if (const ArrayType *AT = Ctx.getAsArrayType(T))
tools/clang/lib/Analysis/CFG.cpp
 4976       while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1483   if (const auto *Arr = Ctx.getAsArrayType(Ty))
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3282     QualType ET = CGM.getContext().getAsArrayType(T)->getElementType();
tools/clang/lib/CodeGen/CGDecl.cpp
 2104   const ArrayType *arrayType = getContext().getAsArrayType(type);
 2199   while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) {
tools/clang/lib/CodeGen/CGExpr.cpp
 3650   if (auto *AT = getContext().getAsArrayType(BaseTy))
tools/clang/lib/CodeGen/CGExprAgg.cpp
  477       CGF.getContext().getAsArrayType(ArrayQTy)->getElementType();
 1661       CGF.getContext().getAsArrayType(E->getType())->getElementType();
 1962             getContext().getAsArrayType(Ty))) {
tools/clang/lib/CodeGen/CGExprCXX.cpp
  606         = getContext().getAsArrayType(E->getType())) {
tools/clang/lib/CodeGen/CGExprConstant.cpp
 2135       const ArrayType *AT = CGM.getContext().getAsArrayType(DestType);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2661           CGF.getContext().getAsArrayType(CurrentType)->getElementType();
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
   96     if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) {
  275     if (const auto *AT = getContext().getAsArrayType(FT)) {
  292     if (const auto *AT = getContext().getAsArrayType(FT)) {
  578     if (const auto *AT = getContext().getAsArrayType(FT)) {
  618     if (const auto *AT = getContext().getAsArrayType(FT)) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2519     if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
 2524       while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1069   if (CGF.getContext().getAsArrayType(PrivateVD->getType())) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1180       bool IsArray = getContext().getAsArrayType(Type) != nullptr;
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1643                                           getContext().getAsArrayType(Ty))) {
 1735       arrayType = getContext().getAsArrayType(elementType);
 1773     arrayType = getContext().getAsArrayType(arrayType->getElementType());
 1786       arrayType = getContext().getAsArrayType(eltType);
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  168   if (const auto *AT = CGT.getContext().getAsArrayType(T))
  801   if (const auto *AT = Context.getAsArrayType(T)) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 3705     const ArrayType *AT = Context->getAsArrayType(Type);
 3713       AT = Context->getAsArrayType(AT->getElementType());
tools/clang/lib/Sema/SemaCast.cpp
  527     if (auto *AT = Context.getAsArrayType(T))
tools/clang/lib/Sema/SemaChecking.cpp
 6893       if (const ArrayType *AT = S.Context.getAsArrayType(T)) {
 9406     if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) {
 9448     if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) {
13027   const ArrayType *AT = S.Context.getAsArrayType(PType);
tools/clang/lib/Sema/SemaDecl.cpp
 3859       const ArrayType *OldArray = Context.getAsArrayType(Old->getType());
 3860       const ArrayType *NewArray = Context.getAsArrayType(New->getType());
 3868           const ArrayType *PrevVDTy = Context.getAsArrayType(PrevVD->getType());
11334     if (const auto *AT = S.Context.getAsArrayType(QT))
11399     if (const auto *AT = S.Context.getAsArrayType(QT))
11465     if (const auto *AT = S.Context.getAsArrayType(QT))
16605       else if (Context.getAsArrayType(FD->getType())) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3179   if (S.Context.getAsArrayType(T))
tools/clang/lib/Sema/SemaExpr.cpp
 5272   const ArrayType *AT = Context.getAsArrayType(OrigTy);
 9236   } else if (const auto *ArrayTy = S.Context.getAsArrayType(LHSTy)) {
13885         const ArrayType *AT = Context.getAsArrayType(CurrentType);
15104     else if (const auto *Arr = S.Context.getAsArrayType(Ty))
tools/clang/lib/Sema/SemaExprCXX.cpp
 2210     if (const ArrayType *AT = Context.getAsArrayType(AllocType)) {
 5300       while (const ArrayType *AT = Self.Context.getAsArrayType(T)) {
 5325       while (const ArrayType *AT = Self.Context.getAsArrayType(T)) {
 6799       else if (auto *AT = Context.getAsArrayType(BaseType))
tools/clang/lib/Sema/SemaInit.cpp
  137   const ArrayType *arrayType = Context.getAsArrayType(declType);
  834   if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) {
 1390                  SemaRef.Context.getAsArrayType(ElemType)) {
 1820   const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType);
 2787   const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType);
 3054       = SemaRef.Context.getAsArrayType(CurrentObjectType)) {
 3225   if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) {
 4317     if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) {
 5429   if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) {
 5690   if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) {
 5737           Context.getAsArrayType(Initializer->getType())->getElementType();
 5756         = Context.getAsArrayType(Initializer->getType());
 6490   if (const ArrayType *AT = S.Context.getAsArrayType(Entity.getType()))
 8368                       S.Context.getAsArrayType(Ty), S);
tools/clang/lib/Sema/SemaOpenMP.cpp
13388                Context.getAsArrayType(D->getType().getNonReferenceType())) {
tools/clang/lib/Sema/SemaOverload.cpp
 4941     X = S.Context.getAsArrayType(ToType)->getElementType();
tools/clang/lib/Sema/SemaStmtAsm.cpp
  711   if (const auto *ATy = Context.getAsArrayType(T))
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 1615       const ArrayType *ArrayArg = S.Context.getAsArrayType(Arg);
 3703   auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType);
tools/clang/lib/Sema/TreeTransform.h
10702     const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType);
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 3050       const ArrayType *VarXTy = C.getAsArrayType(VarX->getType());
 3051       const ArrayType *VarYTy = C.getAsArrayType(VarY->getType());
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1015     while (const auto *AT = getContext().getAsArrayType(DTy))
 1116     while (const ArrayType *AT = getContext().getAsArrayType(T)) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  103   while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1178   if (const ArrayType *AT = Ctx.getAsArrayType(T)) {
 1684     QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType();