/external/clang/lib/AST/ |
D | StmtIterator.cpp | 24 if (vat->getSizeExpr()) in FindVA()
|
D | TypePrinter.cpp | 481 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()
|
D | ASTDumper.cpp | 286 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType() 292 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 299 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
D | ItaniumMangle.cpp | 2248 if (T->getSizeExpr()) in mangleType() 2249 mangleExpression(T->getSizeExpr()); in mangleType() 2255 mangleExpression(T->getSizeExpr()); in mangleType() 2490 mangleExpression(T->getSizeExpr()); in mangleType()
|
D | ASTImporter.cpp | 528 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent() 541 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent() 556 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent() 1597 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
|
D | ASTContext.cpp | 2703 dat->getSizeExpr(), in getVariableArrayDecayedType() 2824 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType() 4179 VAT->getSizeExpr(), in getUnqualifiedArrayType() 4186 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType() 4484 DSAT->getSizeExpr(), in getAsArrayType() 4491 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 | 2068 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 874 TRY_TO(TraverseStmt(T->getSizeExpr())); 879 if (T->getSizeExpr()) 880 TRY_TO(TraverseStmt(T->getSizeExpr())); 884 if (T->getSizeExpr()) 885 TRY_TO(TraverseStmt(T->getSizeExpr())); 1057 TRY_TO(TraverseStmt(TL.getSizeExpr())); 1084 if (TL.getTypePtr()->getSizeExpr()) 1085 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
|
D | CanonicalType.h | 452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
D | Type.h | 2590 Expr *getSizeExpr() const { 2646 Expr *getSizeExpr() const { 2667 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 2698 Expr *getSizeExpr() const { return SizeExpr; } 2710 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() 2138 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 3038 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 1344 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1362 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1364 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 1613 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1635 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1639 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 3261 getDeducedParameterFromExpr(ArrTy->getSizeExpr())) { in DeduceFromInitializerList() 4788 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters() 4811 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
D | TreeTransform.h | 4319 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType() 4369 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType() 4378 Size != T->getSizeExpr()) { in TransformVariableArrayType() 4412 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType() 4413 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType() 4461 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType() 4469 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType() 9210 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr() 9211 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
|
D | SemaDecl.cpp | 5063 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType() 5064 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType() 5111 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc() 6627 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 821 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1579 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1668 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
D | CGStmt.cpp | 2100 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct() 2177 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
D | CGStmtOpenMP.cpp | 33 auto *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars() 159 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateOpenMPCapturedStmtFunction() 715 ->getSizeExpr()), in EmitOMPReductionClauseInit()
|
D | CGExprCXX.cpp | 1942 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 | 176 Writer.AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 349 Writer.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 510 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc() 511 if (TL.getSizeExpr()) in VisitArrayTypeLoc() 512 Writer.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3912 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|