/external/clang/lib/AST/ |
D | StmtIterator.cpp | 24 if (vat->getSizeExpr()) in FindVA()
|
D | TypePrinter.cpp | 486 if (T->getSizeExpr()) in printVariableArrayAfter() 487 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 521 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 522 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 536 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 537 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
|
D | ASTDumper.cpp | 288 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType() 294 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 301 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
D | ItaniumMangle.cpp | 2630 if (T->getSizeExpr()) in mangleType() 2631 mangleExpression(T->getSizeExpr()); in mangleType() 2637 mangleExpression(T->getSizeExpr()); in mangleType() 2872 mangleExpression(T->getSizeExpr()); in mangleType()
|
D | ASTImporter.cpp | 583 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent() 596 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent() 611 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent() 1680 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
|
D | ASTContext.cpp | 2713 dat->getSizeExpr(), in getVariableArrayDecayedType() 2834 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType() 4233 VAT->getSizeExpr(), in getUnqualifiedArrayType() 4240 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType() 4538 DSAT->getSizeExpr(), in getAsArrayType() 4545 VAT->getSizeExpr(), in getAsArrayType()
|
D | Type.cpp | 773 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType() 3750 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
D | MicrosoftMangle.cpp | 2144 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 95 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 947 TRY_TO(TraverseStmt(T->getSizeExpr())); 952 if (T->getSizeExpr()) 953 TRY_TO(TraverseStmt(T->getSizeExpr())); 957 if (T->getSizeExpr()) 958 TRY_TO(TraverseStmt(T->getSizeExpr())); 1132 TRY_TO(TraverseStmt(TL.getSizeExpr())); 1159 if (TL.getTypePtr()->getSizeExpr()) 1160 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
|
D | CanonicalType.h | 452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
D | Type.h | 2623 Expr *getSizeExpr() const { 2679 Expr *getSizeExpr() const { 2700 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 2731 Expr *getSizeExpr() const { return SizeExpr; } 2743 Profile(ID, Context, getElementType(), getSizeExpr());
|
D | TypeLoc.h | 1381 Expr *getSizeExpr() const { in getSizeExpr() function
|
/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 221 if (VAT->getSizeExpr()) in FindVA() 294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
|
D | CFG.cpp | 1008 if (vat->getSizeExpr()) in FindVA() 2139 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 3052 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 1340 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1358 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1360 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 1625 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1647 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1651 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 3253 getDeducedParameterFromExpr(ArrTy->getSizeExpr())) { in DeduceFromInitializerList() 4778 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters() 4801 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
D | TreeTransform.h | 4425 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType() 4475 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType() 4484 Size != T->getSizeExpr()) { in TransformVariableArrayType() 4518 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType() 4519 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType() 4567 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType() 4575 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType() 9517 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr() 9518 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
|
D | SemaDecl.cpp | 5198 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType() 5199 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType() 5246 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc() 6906 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 872 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1648 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1737 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
D | CGStmt.cpp | 2165 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct() 2241 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
D | CGStmtOpenMP.cpp | 135 auto *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars() 284 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateOpenMPCapturedStmtFunction() 984 ->getSizeExpr()), in EmitOMPReductionClauseInit() 1073 ->getSizeExpr()), in EmitOMPReductionClauseInit()
|
D | CGExprCXX.cpp | 1950 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 602 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 200 Record.AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 379 Record.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 544 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc() 545 if (TL.getSizeExpr()) in VisitArrayTypeLoc() 546 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4527 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|