/external/clang/lib/AST/ |
D | StmtIterator.cpp | 24 if (vat->getSizeExpr()) in FindVA()
|
D | TypePrinter.cpp | 468 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()
|
D | ItaniumMangle.cpp | 2082 if (T->getSizeExpr()) in mangleType() 2083 mangleExpression(T->getSizeExpr()); in mangleType() 2089 mangleExpression(T->getSizeExpr()); in mangleType() 2325 mangleExpression(T->getSizeExpr()); in mangleType()
|
D | ASTImporter.cpp | 483 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()
|
D | MicrosoftMangle.cpp | 1786 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType() 1796 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
D | ASTContext.cpp | 2510 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()
|
D | Type.cpp | 2439 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 93 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
/external/clang/include/clang/AST/ |
D | DataRecursiveASTVisitor.h | 846 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()));
|
D | RecursiveASTVisitor.h | 911 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()));
|
D | CanonicalType.h | 525 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
D | Type.h | 2396 Expr *getSizeExpr() const { 2452 Expr *getSizeExpr() const { 2473 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 2502 Expr *getSizeExpr() const { return SizeExpr; } 2514 Profile(ID, Context, getElementType(), getSizeExpr());
|
D | TypeLoc.h | 1299 Expr *getSizeExpr() const { in getSizeExpr() function
|
/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 222 if (VAT->getSizeExpr()) in FindVA() 295 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
|
D | CFG.cpp | 890 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/ |
D | SemaTemplateDeduction.cpp | 1379 = 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()
|
D | TreeTransform.h | 4006 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()
|
D | SemaDecl.cpp | 4625 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()
|
D | SemaInit.cpp | 1376 SemaRef.Diag(VAT->getSizeExpr()->getLocStart(), in CheckArrayType() 1378 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
|
D | SemaStmt.cpp | 2173 BoundExpr = VAT->getSizeExpr(); in BuildCXXForRangeStmt()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1400 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1489 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
D | CodeGenFunction.h | 2627 if (!VAT->getSizeExpr())
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 168 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/ |
D | ASTMatchers.h | 3104 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1542 if (Expr *Size = TL.getSizeExpr()) in VisitArrayTypeLoc()
|