/netbsd-src/external/apache2/llvm/dist/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 | 534 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 D | Type.cpp | 962 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 D | ASTStructuralEquivalence.cpp | 769 const auto *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent() 770 const auto *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent()
|
H A D | ASTContext.cpp | 1749 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 D | ODRHash.cpp | 815 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
|
/netbsd-src/external/apache2/llvm/dist/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 | 302 void VisitVariableArrayType(const VariableArrayType *T);
|
H A D | CanonicalType.h | 463 template<> struct CanProxyAdaptor<VariableArrayType>;
|
H A D | ASTContext.h | 203 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 D | ASTNodeTraverser.h | 333 void VisitVariableArrayType(const VariableArrayType *T) { in VisitVariableArrayType()
|
H A D | Decl.h | 2974 const VariableArrayType *getCapturedVLAType() const { in getCapturedVLAType() 2975 return hasCapturedVLAType() ? static_cast<const VariableArrayType *>( in getCapturedVLAType() 2981 void setCapturedVLAType(const VariableArrayType *VLAType);
|
H A D | TypeProperties.td | 127 let Class = VariableArrayType in {
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 51 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 D | ScopeInfo.h | 541 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 D | LiveVariables.cpp | 175 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 D | CFG.cpp | 1328 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 D | CodeGenFunction.cpp | 1893 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 D | CodeGenTypes.cpp | 655 const VariableArrayType *A = cast<VariableArrayType>(Ty); in ConvertType()
|
H A D | CodeGenFunction.h | 2167 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 D | ScopeInfo.cpp | 226 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 65 def VariableArrayType : TypeNode<ArrayType>;
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXType.cpp | 806 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 D | ASTMatchersInternal.cpp | 1025 const AstTypeMatcher<VariableArrayType> variableArrayType;
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6491 extern const AstTypeMatcher<VariableArrayType> variableArrayType; 6505 AST_MATCHER_P(VariableArrayType, hasSizeExpr, in AST_MATCHER_P() argument
|