/external/clang/lib/AST/ |
D | StmtIterator.cpp | 21 static inline const VariableArrayType *FindVA(const Type* t) { in FindVA() 23 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA() 36 const VariableArrayType *p = getVAPtr(); in NextVA() 72 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl() 81 if (const VariableArrayType* VAPtr = in HandleDecl() 100 StmtIteratorBase::StmtIteratorBase(const VariableArrayType* t) in StmtIteratorBase() 106 if (const VariableArrayType* VAPtr = getVAPtr()) { in GetDeclExpr()
|
D | TypePrinter.cpp | 467 void TypePrinter::printVariableArrayBefore(const VariableArrayType *T, in printVariableArrayBefore() 473 void TypePrinter::printVariableArrayAfter(const VariableArrayType *T, in printVariableArrayAfter() 481 if (T->getSizeModifier() == VariableArrayType::Static) in printVariableArrayAfter() 483 else if (T->getSizeModifier() == VariableArrayType::Star) in printVariableArrayAfter()
|
D | ASTContext.cpp | 1398 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 2734 const VariableArrayType *vat = cast<VariableArrayType>(ty); in getVariableArrayDecayedType() 2768 VariableArrayType *New = new(*this, TypeAlignment) in getVariableArrayType() 2769 VariableArrayType(EltTy, Canon, NumElts, ASM, IndexTypeQuals, Brackets); in getVariableArrayType() 4231 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(AT)) { in getUnqualifiedArrayType() 4543 const VariableArrayType *VAT = cast<VariableArrayType>(ATy); in getAsArrayType() 5720 assert((isa<VariableArrayType>(AT) || isa<IncompleteArrayType>(AT)) && in getObjCEncodingForTypeImpl() 7837 const VariableArrayType* LVAT = getAsVariableArrayType(LHS); in mergeTypes() 7838 const VariableArrayType* RVAT = getAsVariableArrayType(RHS); in mergeTypes()
|
D | Type.cpp | 765 QualType VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType() 1886 return !isa<VariableArrayType>(CanonicalType); in isConstantSizeType() 3749 if (isa<VariableArrayType>(arr) && in hasSizedVLAType() 3750 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
D | ASTImporter.cpp | 51 QualType VisitVariableArrayType(const VariableArrayType *T); 580 const VariableArrayType *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent() 581 const VariableArrayType *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent() 1675 QualType ASTNodeImporter::VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
|
D | MicrosoftMangle.cpp | 2106 void MicrosoftCXXNameMangler::mangleType(const VariableArrayType *T, Qualifiers, in mangleType() 2133 const VariableArrayType *VAT = in mangleArrayType()
|
/external/clang/include/clang/AST/ |
D | StmtIterator.h | 28 class VariableArrayType; variable 54 const VariableArrayType *getVAPtr() const { in getVAPtr() 55 return reinterpret_cast<const VariableArrayType*>(RawVAPtr & ~Flags); in getVAPtr() 58 void setVAPtr(const VariableArrayType *P) { in setVAPtr() 70 StmtIteratorBase(const VariableArrayType *t); 87 StmtIteratorImpl(const VariableArrayType *t) : StmtIteratorBase(t) {} in StmtIteratorImpl() 129 StmtIterator(const VariableArrayType *t) in StmtIterator()
|
D | ASTContext.h | 106 mutable std::vector<VariableArrayType*> VariableArrayTypes; 2117 const VariableArrayType *getAsVariableArrayType(QualType T) const { in getAsVariableArrayType() 2118 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
|
D | CanonicalType.h | 445 template<> struct CanProxyAdaptor<VariableArrayType>;
|
D | Decl.h | 2445 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType() 2446 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType() 2451 void setCapturedVLAType(const VariableArrayType *VLAType);
|
D | RecursiveASTVisitor.h | 945 DEF_TRAVERSE_TYPE(VariableArrayType, { 1146 DEF_TRAVERSE_TYPELOC(VariableArrayType, {
|
D | Type.h | 2607 class VariableArrayType : public ArrayType { 2614 VariableArrayType(QualType et, QualType can, Expr *e, 5534 return isa<VariableArrayType>(CanonicalType);
|
/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 217 static const VariableArrayType *FindVA(QualType Ty) { in FindVA() 220 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(VT)) in FindVA() 292 for (const VariableArrayType* VA = FindVA(VD->getType()); in Visit()
|
D | CFG.cpp | 1005 static const VariableArrayType *FindVA(const Type *t) { in FindVA() 1007 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA() 2137 for (const VariableArrayType* VA = FindVA(VD->getType().getTypePtr()); in VisitDeclSubExpr() 3050 for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr()); in VisitUnaryExprOrTypeTraitExpr()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1456 const VariableArrayType *vla; in EmitNullInitialization() 1461 if (const VariableArrayType *vlaType = in EmitNullInitialization() 1462 dyn_cast_or_null<VariableArrayType>( in EmitNullInitialization() 1551 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 1552 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength() 1565 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 1635 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() 1641 CodeGenFunction::getVLASize(const VariableArrayType *type) { in getVLASize() 1733 const VariableArrayType *vat = cast<VariableArrayType>(ty); in EmitVariablyModifiedType()
|
D | CodeGenTypes.cpp | 517 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
|
D | CGExprScalar.cpp | 1717 if (const VariableArrayType *vla in EmitScalarPrePostIncDec() 1998 if (const VariableArrayType *VAT = in VisitUnaryExprOrTypeTraitExpr() 2465 if (const VariableArrayType *vla in emitPointerArithmetic() 2655 if (const VariableArrayType *vla in EmitSub()
|
D | CGDebugInfo.cpp | 2071 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(Ty)) { in CreateType() 3197 } else if (isa<VariableArrayType>(VD->getType())) in EmitDeclare()
|
D | CGExprAgg.cpp | 1505 if (auto *VAT = dyn_cast_or_null<VariableArrayType>( in EmitAggregateCopy()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 90 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType()); in checkPreStmt()
|
/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 106 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 632 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType() 684 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 574 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4511 AST_TYPE_MATCHER(VariableArrayType, variableArrayType); 4525 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 183 if (isa<VariableArrayType>(T)) in getExtent()
|