Home
last modified time | relevance | path

Searched refs:VariableArrayType (Results 1 – 25 of 41) 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.cpp467 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()
DASTContext.cpp1398 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()
DType.cpp765 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()
DASTImporter.cpp51 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()
DMicrosoftMangle.cpp2106 void MicrosoftCXXNameMangler::mangleType(const VariableArrayType *T, Qualifiers, in mangleType()
2133 const VariableArrayType *VAT = in mangleArrayType()
/external/clang/include/clang/AST/
DStmtIterator.h28 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()
DASTContext.h106 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()
DCanonicalType.h445 template<> struct CanProxyAdaptor<VariableArrayType>;
DDecl.h2445 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType()
2446 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType()
2451 void setCapturedVLAType(const VariableArrayType *VLAType);
DRecursiveASTVisitor.h945 DEF_TRAVERSE_TYPE(VariableArrayType, {
1146 DEF_TRAVERSE_TYPELOC(VariableArrayType, {
DType.h2607 class VariableArrayType : public ArrayType {
2614 VariableArrayType(QualType et, QualType can, Expr *e,
5534 return isa<VariableArrayType>(CanonicalType);
DTypeLoc.h1427 VariableArrayType> {
/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.cpp1005 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/
DCodeGenFunction.cpp1456 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()
DCodeGenTypes.cpp517 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
DCGExprScalar.cpp1717 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()
DCGDebugInfo.cpp2071 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(Ty)) { in CreateType()
3197 } else if (isa<VariableArrayType>(VD->getType())) in EmitDeclare()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp90 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType()); in checkPreStmt()
/external/clang/lib/Sema/
DScopeInfo.cpp106 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
/external/clang/tools/libclang/
DCXType.cpp632 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType()
684 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
/external/clang/include/clang/Sema/
DScopeInfo.h574 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4511 AST_TYPE_MATCHER(VariableArrayType, variableArrayType);
4525 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp183 if (isa<VariableArrayType>(T)) in getExtent()

12