Home
last modified time | relevance | path

Searched refs:getSizeExpr (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/lib/AST/
DStmtIterator.cpp24 if (vat->getSizeExpr()) in FindVA()
DTypePrinter.cpp468 if (T->getSizeExpr()) in printVariableArrayAfter()
469 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
503 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
504 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
518 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
519 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
DItaniumMangle.cpp2082 if (T->getSizeExpr()) in mangleType()
2083 mangleExpression(T->getSizeExpr()); in mangleType()
2089 mangleExpression(T->getSizeExpr()); in mangleType()
2325 mangleExpression(T->getSizeExpr()); in mangleType()
DASTImporter.cpp483 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
496 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
511 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent()
1552 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
DMicrosoftMangle.cpp1786 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
1796 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
DASTContext.cpp2510 dat->getSizeExpr(), in getVariableArrayDecayedType()
3941 VAT->getSizeExpr(), in getUnqualifiedArrayType()
3948 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
4246 DSAT->getSizeExpr(), in getAsArrayType()
4253 VAT->getSizeExpr(), in getAsArrayType()
DType.cpp2439 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp93 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/external/clang/include/clang/AST/
DDataRecursiveASTVisitor.h846 TRY_TO(TraverseStmt(T->getSizeExpr()));
851 if (T->getSizeExpr())
852 TRY_TO(TraverseStmt(T->getSizeExpr()));
856 if (T->getSizeExpr())
857 TRY_TO(TraverseStmt(T->getSizeExpr()));
1023 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1050 if (TL.getTypePtr()->getSizeExpr())
1051 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
DRecursiveASTVisitor.h911 TRY_TO(TraverseStmt(T->getSizeExpr()));
916 if (T->getSizeExpr())
917 TRY_TO(TraverseStmt(T->getSizeExpr()));
921 if (T->getSizeExpr())
922 TRY_TO(TraverseStmt(T->getSizeExpr()));
1088 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1115 if (TL.getTypePtr()->getSizeExpr())
1116 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
DCanonicalType.h525 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
DType.h2396 Expr *getSizeExpr() const {
2452 Expr *getSizeExpr() const {
2473 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
2502 Expr *getSizeExpr() const { return SizeExpr; }
2514 Profile(ID, Context, getElementType(), getSizeExpr());
DTypeLoc.h1299 Expr *getSizeExpr() const { in getSizeExpr() function
/external/clang/lib/Analysis/
DLiveVariables.cpp222 if (VAT->getSizeExpr()) in FindVA()
295 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
DCFG.cpp890 if (vat->getSizeExpr()) in FindVA()
2006 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
2894 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1379 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1397 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1399 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1639 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1661 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1665 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
4823 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters()
4846 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DTreeTransform.h4006 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4056 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4065 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4099 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4100 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4148 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4156 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
8031 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
8032 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
DSemaDecl.cpp4625 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType()
4626 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType()
4671 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc()
6020 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
DSemaInit.cpp1376 SemaRef.Diag(VAT->getSizeExpr()->getLocStart(), in CheckArrayType()
1378 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
DSemaStmt.cpp2173 BoundExpr = VAT->getSizeExpr(); in BuildCXXForRangeStmt()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1400 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
1489 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
DCodeGenFunction.h2627 if (!VAT->getSizeExpr())
/external/clang/lib/Serialization/
DASTWriter.cpp168 Writer.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
332 Writer.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
490 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
491 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
492 Writer.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3104 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
/external/clang/tools/libclang/
DCIndex.cpp1542 if (Expr *Size = TL.getSizeExpr()) in VisitArrayTypeLoc()

12