/openbsd-src/gnu/llvm/clang/lib/AST/ |
H A D | StmtIterator.cpp | 25 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 D | TypePrinter.cpp | 551 void TypePrinter::printVariableArrayBefore(const VariableArrayType *T, in printVariableArrayBefore() 557 void TypePrinter::printVariableArrayAfter(const VariableArrayType *T, in printVariableArrayAfter() 565 if (T->getSizeModifier() == VariableArrayType::Static) in printVariableArrayAfter() 567 else if (T->getSizeModifier() == VariableArrayType::Star) in printVariableArrayAfter()
|
H A D | Type.cpp | 972 QualType VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType() 2252 return !isa<VariableArrayType>(CanonicalType); in isConstantSizeType() 4488 if (isa<VariableArrayType>(arr) && in hasSizedVLAType() 4489 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
H A D | ASTStructuralEquivalence.cpp | 822 const auto *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent() 823 const auto *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent()
|
H A D | ODRHash.cpp | 970 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
|
H A D | ASTContext.cpp | 1755 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 3720 const auto *vat = cast<VariableArrayType>(ty); in getVariableArrayDecayedType() 3756 VariableArrayType(EltTy, Canon, NumElts, ASM, IndexTypeQuals, Brackets); in getVariableArrayType() 6024 if (const auto *VAT = dyn_cast<VariableArrayType>(AT)) { in getUnqualifiedArrayType() 6889 const auto *VAT = cast<VariableArrayType>(ATy); in getAsArrayType() 8293 assert((isa<VariableArrayType>(AT) || isa<IncompleteArrayType>(AT)) && in getObjCEncodingForTypeImpl() 10641 const VariableArrayType* LVAT = getAsVariableArrayType(LHS); in mergeTypes() 10642 const VariableArrayType* RVAT = getAsVariableArrayType(RHS); in mergeTypes() 10647 auto SizeFetch = [this](const VariableArrayType* VAT, in mergeTypes()
|
/openbsd-src/gnu/llvm/clang/include/clang/AST/ |
H A D | StmtIterator.h | 25 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 D | TextNodeDumper.h | 308 void VisitVariableArrayType(const VariableArrayType *T);
|
H A D | CanonicalType.h | 462 template<> struct CanProxyAdaptor<VariableArrayType>;
|
H A D | ASTContext.h | 197 mutable std::vector<VariableArrayType*> VariableArrayTypes; 2700 const VariableArrayType *getAsVariableArrayType(QualType T) const { in getAsVariableArrayType() 2701 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
|
H A D | ASTNodeTraverser.h | 357 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
|
H A D | Decl.h | 3121 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType() 3122 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType() 3128 void setCapturedVLAType(const VariableArrayType *VLAType);
|
H A D | TypeProperties.td | 127 let Class = VariableArrayType in {
|
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 52 const VariableArrayType *VLA, SVal &ArraySize) const; 70 const VariableArrayType *VLA, in checkVLA() 74 const VariableArrayType *VLALast = nullptr; in checkVLA() 270 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(TypeToCheck); in checkPreStmt() 309 const VariableArrayType *VLA = C.getASTContext().getAsVariableArrayType( in checkPreStmt()
|
/openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 556 const VariableArrayType *CapturedVLA; 614 Capture(IsVLACapture, const VariableArrayType *VLA, bool IsNested, in Capture() 651 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType() 710 void addVLATypeCapture(SourceLocation Loc, const VariableArrayType *VLAType, in addVLATypeCapture() 732 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
|
/openbsd-src/gnu/llvm/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 181 static const VariableArrayType *FindVA(QualType Ty) { in FindVA() 184 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(VT)) in FindVA() 256 for (const VariableArrayType* VA = FindVA(VD->getType()); in Visit()
|
H A D | CFG.cpp | 1390 static const VariableArrayType *FindVA(const Type *t) { in FindVA() 1392 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA() 2948 for (const VariableArrayType *VA = FindVA(T); VA != nullptr; in VisitDeclSubExpr() 3042 for (const VariableArrayType* VA = FindVA(VD->getType().getTypePtr()); in VisitDeclSubExpr() 4306 for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr()); in VisitUnaryExprOrTypeTraitExpr()
|
/openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1990 const VariableArrayType *vla; in EmitNullInitialization() 1995 if (const VariableArrayType *vlaType = in EmitNullInitialization() 1996 dyn_cast_or_null<VariableArrayType>( in EmitNullInitialization() 2082 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 2083 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts; in emitArrayLength() 2096 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2166 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() 2172 CodeGenFunction::getVLASize(const VariableArrayType *type) { in getVLASize() 2197 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D() 2203 CodeGenFunction::getVLAElements1D(const VariableArrayType *Vla) { in getVLAElements1D() [all …]
|
H A D | CodeGenTypes.cpp | 674 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
|
H A D | CodeGenFunction.h | 2227 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) { 2791 VlaSizePair getVLAElements1D(const VariableArrayType *vla); 2798 VlaSizePair getVLASize(const VariableArrayType *vla);
|
/openbsd-src/gnu/llvm/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 227 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
/openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 65 def VariableArrayType : TypeNode<ArrayType>;
|
/openbsd-src/gnu/llvm/clang/tools/libclang/ |
H A D | CXType.cpp | 827 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType() 885 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
|
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 1043 const AstTypeMatcher<VariableArrayType> variableArrayType;
|
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6878 extern const AstTypeMatcher<VariableArrayType> variableArrayType; 6892 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument
|