Home
last modified time | relevance | path

Searched refs:VariableArrayType (Results 1 – 25 of 42) sorted by relevance

12

/external/clang/lib/AST/
DStmtIterator.cpp21 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()
DTypePrinter.cpp462 void TypePrinter::printVariableArrayBefore(const VariableArrayType *T, in printVariableArrayBefore()
468 void TypePrinter::printVariableArrayAfter(const VariableArrayType *T, in printVariableArrayAfter()
476 if (T->getSizeModifier() == VariableArrayType::Static) in printVariableArrayAfter()
478 else if (T->getSizeModifier() == VariableArrayType::Star) in printVariableArrayAfter()
DASTContext.cpp1329 if (isa<VariableArrayType>(arrayType)) in getDeclAlign()
2611 const VariableArrayType *vat = cast<VariableArrayType>(ty); in getVariableArrayDecayedType()
2645 VariableArrayType *New = new(*this, TypeAlignment) in getVariableArrayType()
2646 VariableArrayType(EltTy, Canon, NumElts, ASM, IndexTypeQuals, Brackets); in getVariableArrayType()
4017 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(AT)) { in getUnqualifiedArrayType()
4330 const VariableArrayType *VAT = cast<VariableArrayType>(ATy); in getAsArrayType()
5455 assert((isa<VariableArrayType>(AT) || isa<IncompleteArrayType>(AT)) && in getObjCEncodingForTypeImpl()
7331 const VariableArrayType* LVAT = getAsVariableArrayType(LHS); in mergeTypes()
7332 const VariableArrayType* RVAT = getAsVariableArrayType(RHS); in mergeTypes()
DType.cpp893 return !isa<VariableArrayType>(CanonicalType); in isConstantSizeType()
2429 if (isa<VariableArrayType>(arr) && in hasSizedVLAType()
2430 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
DASTImporter.cpp51 QualType VisitVariableArrayType(const VariableArrayType *T);
482 const VariableArrayType *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent()
483 const VariableArrayType *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent()
1549 QualType ASTNodeImporter::VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
DMicrosoftMangle.cpp1854 void MicrosoftCXXNameMangler::mangleType(const VariableArrayType *T, in mangleType()
1875 const VariableArrayType *VAT = in mangleArrayType()
/external/clang/include/clang/AST/
DStmtIterator.h28 class VariableArrayType; variable
52 const VariableArrayType *getVAPtr() const { in getVAPtr()
53 return reinterpret_cast<const VariableArrayType*>(RawVAPtr & ~Flags); in getVAPtr()
56 void setVAPtr(const VariableArrayType *P) { in setVAPtr()
68 StmtIteratorBase(const VariableArrayType *t);
85 StmtIteratorImpl(const VariableArrayType *t) : StmtIteratorBase(t) {} in StmtIteratorImpl()
127 StmtIterator(const VariableArrayType *t) in StmtIterator()
DASTContext.h103 mutable std::vector<VariableArrayType*> VariableArrayTypes;
1906 const VariableArrayType *getAsVariableArrayType(QualType T) const { in getAsVariableArrayType()
1907 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
DCanonicalType.h445 template<> struct CanProxyAdaptor<VariableArrayType>;
DDecl.h2371 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType()
2372 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType()
2377 void setCapturedVLAType(const VariableArrayType *VLAType);
DDataRecursiveASTVisitor.h847 DEF_TRAVERSE_TYPE(VariableArrayType, {
1043 DEF_TRAVERSE_TYPELOC(VariableArrayType, {
DRecursiveASTVisitor.h912 DEF_TRAVERSE_TYPE(VariableArrayType, {
1108 DEF_TRAVERSE_TYPELOC(VariableArrayType, {
DType.h2424 class VariableArrayType : public ArrayType {
2431 VariableArrayType(QualType et, QualType can, Expr *e,
4981 return isa<VariableArrayType>(CanonicalType);
/external/clang/lib/Analysis/
DLiveVariables.cpp217 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()
DCFG.cpp957 static const VariableArrayType *FindVA(const Type *t) { in FindVA()
959 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA()
2071 for (const VariableArrayType* VA = FindVA(VD->getType().getTypePtr()); in VisitDeclSubExpr()
2959 for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr()); in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1284 const VariableArrayType *vla; in EmitNullInitialization()
1289 if (const VariableArrayType *vlaType = in EmitNullInitialization()
1290 dyn_cast_or_null<VariableArrayType>( in EmitNullInitialization()
1378 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
1379 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength()
1392 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
1462 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize()
1468 CodeGenFunction::getVLASize(const VariableArrayType *type) { in getVLASize()
1560 const VariableArrayType *vat = cast<VariableArrayType>(ty); in EmitVariablyModifiedType()
DCodeGenTypes.cpp433 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
DCGExprScalar.cpp1737 if (const VariableArrayType *vla in EmitScalarPrePostIncDec()
2014 if (const VariableArrayType *VAT = in VisitUnaryExprOrTypeTraitExpr()
2470 if (const VariableArrayType *vla in emitPointerArithmetic()
2663 if (const VariableArrayType *vla in EmitSub()
DCGDebugInfo.cpp1842 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(Ty)) { in CreateType()
2869 } else if (isa<VariableArrayType>(VD->getType())) in EmitDeclare()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp91 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType()); in checkPreStmt()
/external/clang/lib/Sema/
DScopeInfo.cpp100 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
/external/clang/tools/libclang/
DCXType.cpp618 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType()
670 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
/external/clang/include/clang/Sema/
DScopeInfo.h529 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3477 AST_TYPE_MATCHER(VariableArrayType, variableArrayType);
3491 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp187 if (isa<VariableArrayType>(T)) in getExtent()

12