/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 | 282 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType() 288 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 295 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
D | ItaniumMangle.cpp | 2120 if (T->getSizeExpr()) in mangleType() 2121 mangleExpression(T->getSizeExpr()); in mangleType() 2127 mangleExpression(T->getSizeExpr()); in mangleType() 2361 mangleExpression(T->getSizeExpr()); in mangleType()
|
D | ASTImporter.cpp | 485 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()
|
D | MicrosoftMangle.cpp | 1880 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType() 1890 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
D | ASTContext.cpp | 2590 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()
|
D | Type.cpp | 2430 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
/external/clang/include/clang/AST/ |
D | DataRecursiveASTVisitor.h | 849 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()));
|
D | RecursiveASTVisitor.h | 914 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()));
|
D | CanonicalType.h | 452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
D | Type.h | 2440 Expr *getSizeExpr() const { 2496 Expr *getSizeExpr() const { 2517 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 2546 Expr *getSizeExpr() const { return SizeExpr; } 2558 Profile(ID, Context, getElementType(), getSizeExpr());
|
D | TypeLoc.h | 1299 Expr *getSizeExpr() const { in getSizeExpr() function
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
/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 | 960 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/ |
D | SemaTemplateDeduction.cpp | 1344 = 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()
|
D | TreeTransform.h | 4131 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()
|
D | SemaDecl.cpp | 4869 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()
|
D | SemaInit.cpp | 1453 SemaRef.Diag(VAT->getSizeExpr()->getLocStart(), in CheckArrayType() 1455 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 738 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1475 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1564 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
D | CGStmt.cpp | 2136 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct() 2215 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
D | CGExprCXX.cpp | 1833 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 171 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/ |
D | ASTMatchers.h | 3493 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|