Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtIterator.cpp25 static inline const VariableArrayType *FindVA(const Type* t) { in FindVA()
27 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA()
40 const VariableArrayType *p = getVAPtr(); in NextVA()
76 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
85 if (const VariableArrayType* VAPtr = in HandleDecl()
104 StmtIteratorBase::StmtIteratorBase(const VariableArrayType* t) in StmtIteratorBase()
110 if (const VariableArrayType* VAPtr = getVAPtr()) { in GetDeclExpr()
H A DTypePrinter.cpp534 void TypePrinter::printVariableArrayBefore(const VariableArrayType *T, in printVariableArrayBefore()
541 void TypePrinter::printVariableArrayAfter(const VariableArrayType *T, in printVariableArrayAfter()
549 if (T->getSizeModifier() == VariableArrayType::Static) in printVariableArrayAfter()
551 else if (T->getSizeModifier() == VariableArrayType::Star) in printVariableArrayAfter()
H A DType.cpp962 QualType VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
2201 return !isa<VariableArrayType>(CanonicalType); in isConstantSizeType()
4336 if (isa<VariableArrayType>(arr) && in hasSizedVLAType()
4337 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
H A DASTStructuralEquivalence.cpp769 const auto *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent()
770 const auto *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent()
H A DASTContext.cpp1749 if (isa<VariableArrayType>(arrayType)) in getDeclAlign()
3591 const auto *vat = cast<VariableArrayType>(ty); in getVariableArrayDecayedType()
3626 VariableArrayType(EltTy, Canon, NumElts, ASM, IndexTypeQuals, Brackets); in getVariableArrayType()
5754 if (const auto *VAT = dyn_cast<VariableArrayType>(AT)) { in getUnqualifiedArrayType()
6135 const auto *VAT = cast<VariableArrayType>(ATy); in getAsArrayType()
7540 assert((isa<VariableArrayType>(AT) || isa<IncompleteArrayType>(AT)) && in getObjCEncodingForTypeImpl()
9831 const VariableArrayType* LVAT = getAsVariableArrayType(LHS); in mergeTypes()
9832 const VariableArrayType* RVAT = getAsVariableArrayType(RHS); in mergeTypes()
9837 auto SizeFetch = [this](const VariableArrayType* VAT, in mergeTypes()
H A DODRHash.cpp815 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtIterator.h25 class VariableArrayType; variable
44 StmtIteratorBase(const VariableArrayType *t);
60 const VariableArrayType *getVAPtr() const { in getVAPtr()
61 return reinterpret_cast<const VariableArrayType*>(RawVAPtr & ~Flags); in getVAPtr()
64 void setVAPtr(const VariableArrayType *P) { in setVAPtr()
91 StmtIteratorImpl(const VariableArrayType *t) : StmtIteratorBase(t) {} in StmtIteratorImpl()
133 StmtIterator(const VariableArrayType *t) in StmtIterator()
H A DTextNodeDumper.h302 void VisitVariableArrayType(const VariableArrayType *T);
H A DCanonicalType.h463 template<> struct CanProxyAdaptor<VariableArrayType>;
H A DASTContext.h203 mutable std::vector<VariableArrayType*> VariableArrayTypes;
2543 const VariableArrayType *getAsVariableArrayType(QualType T) const { in getAsVariableArrayType()
2544 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
H A DASTNodeTraverser.h333 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
H A DDecl.h2974 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType()
2975 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType()
2981 void setCapturedVLAType(const VariableArrayType *VLAType);
H A DTypeProperties.td127 let Class = VariableArrayType in {
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp51 const VariableArrayType *VLA, SVal &ArraySize) const;
69 const VariableArrayType *VLA, in checkVLA()
73 const VariableArrayType *VLALast = nullptr; in checkVLA()
269 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(TypeToCheck); in checkPreStmt()
309 const VariableArrayType *VLA = C.getASTContext().getAsVariableArrayType( in checkPreStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h541 const VariableArrayType *CapturedVLA;
598 Capture(IsVLACapture, const VariableArrayType *VLA, bool IsNested, in Capture()
635 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType()
694 void addVLATypeCapture(SourceLocation Loc, const VariableArrayType *VLAType, in addVLATypeCapture()
718 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp175 static const VariableArrayType *FindVA(QualType Ty) { in FindVA()
178 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(VT)) in FindVA()
250 for (const VariableArrayType* VA = FindVA(VD->getType()); in Visit()
H A DCFG.cpp1328 static const VariableArrayType *FindVA(const Type *t) { in FindVA()
1330 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA()
2851 for (const VariableArrayType *VA = FindVA(T); VA != nullptr; in VisitDeclSubExpr()
2927 for (const VariableArrayType* VA = FindVA(VD->getType().getTypePtr()); in VisitDeclSubExpr()
4027 for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr()); in VisitUnaryExprOrTypeTraitExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1893 const VariableArrayType *vla; in EmitNullInitialization()
1898 if (const VariableArrayType *vlaType = in EmitNullInitialization()
1899 dyn_cast_or_null<VariableArrayType>( in EmitNullInitialization()
1985 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
1986 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts; in emitArrayLength()
1999 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
2068 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize()
2074 CodeGenFunction::getVLASize(const VariableArrayType *type) { in getVLASize()
2099 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D()
2105 CodeGenFunction::getVLAElements1D(const VariableArrayType *Vla) { in getVLAElements1D()
[all …]
H A DCodeGenTypes.cpp655 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
H A DCodeGenFunction.h2167 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) {
2734 VlaSizePair getVLAElements1D(const VariableArrayType *vla);
2741 VlaSizePair getVLASize(const VariableArrayType *vla);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScopeInfo.cpp226 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td65 def VariableArrayType : TypeNode<ArrayType>;
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp806 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType()
864 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1025 const AstTypeMatcher<VariableArrayType> variableArrayType;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6491 extern const AstTypeMatcher<VariableArrayType> variableArrayType;
6505 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument

12