Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DStmtIterator.cpp24 if (vat->getSizeExpr()) in FindVA()
DTypePrinter.cpp481 if (T->getSizeExpr()) in printVariableArrayAfter()
482 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
516 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
517 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
531 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
532 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
DASTDumper.cpp282 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType()
288 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
295 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
DItaniumMangle.cpp2120 if (T->getSizeExpr()) in mangleType()
2121 mangleExpression(T->getSizeExpr()); in mangleType()
2127 mangleExpression(T->getSizeExpr()); in mangleType()
2361 mangleExpression(T->getSizeExpr()); in mangleType()
DASTImporter.cpp485 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
498 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
513 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent()
1554 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
DMicrosoftMangle.cpp1880 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
1890 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
DASTContext.cpp2590 dat->getSizeExpr(), in getVariableArrayDecayedType()
4019 VAT->getSizeExpr(), in getUnqualifiedArrayType()
4026 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
4325 DSAT->getSizeExpr(), in getAsArrayType()
4332 VAT->getSizeExpr(), in getAsArrayType()
DType.cpp2430 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
/external/clang/include/clang/AST/
DDataRecursiveASTVisitor.h849 TRY_TO(TraverseStmt(T->getSizeExpr()));
854 if (T->getSizeExpr())
855 TRY_TO(TraverseStmt(T->getSizeExpr()));
859 if (T->getSizeExpr())
860 TRY_TO(TraverseStmt(T->getSizeExpr()));
1029 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1056 if (TL.getTypePtr()->getSizeExpr())
1057 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
DRecursiveASTVisitor.h914 TRY_TO(TraverseStmt(T->getSizeExpr()));
919 if (T->getSizeExpr())
920 TRY_TO(TraverseStmt(T->getSizeExpr()));
924 if (T->getSizeExpr())
925 TRY_TO(TraverseStmt(T->getSizeExpr()));
1094 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1121 if (TL.getTypePtr()->getSizeExpr())
1122 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
DCanonicalType.h452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
DType.h2440 Expr *getSizeExpr() const {
2496 Expr *getSizeExpr() const {
2517 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
2546 Expr *getSizeExpr() const { return SizeExpr; }
2558 Profile(ID, Context, getElementType(), getSizeExpr());
DTypeLoc.h1299 Expr *getSizeExpr() const { in getSizeExpr() function
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/external/clang/lib/Analysis/
DLiveVariables.cpp221 if (VAT->getSizeExpr()) in FindVA()
294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
DCFG.cpp960 if (vat->getSizeExpr()) in FindVA()
2073 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
2961 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1344 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1362 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1364 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1604 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1626 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1630 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
4709 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters()
4732 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DTreeTransform.h4131 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4181 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4190 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4224 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4225 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4273 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4281 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
8539 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
8540 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
DSemaDecl.cpp4869 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType()
4870 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType()
4915 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc()
6283 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
DSemaInit.cpp1453 SemaRef.Diag(VAT->getSizeExpr()->getLocStart(), in CheckArrayType()
1455 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp738 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
1475 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
1564 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
DCGStmt.cpp2136 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2215 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
DCGExprCXX.cpp1833 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
/external/clang/lib/Serialization/
DASTWriter.cpp171 Writer.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
345 Writer.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
503 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
504 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
505 Writer.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3493 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12