/external/clang/lib/Sema/ |
D | SemaInit.cpp | 502 if (!ILE->getInit(Init)) { in FillInEmptyInitForBase() 515 dyn_cast<InitListExpr>(ILE->getInit(Init))) { in FillInEmptyInitForBase() 519 dyn_cast<DesignatedInitUpdateExpr>(ILE->getInit(Init))) { in FillInEmptyInitForBase() 539 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInEmptyInitForField() 602 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInEmptyInitForField() 606 = dyn_cast<DesignatedInitUpdateExpr>(ILE->getInit(Init))) in FillInEmptyInitForField() 709 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations() 840 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList() 851 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList() 869 ParentIList->getInit(EndIndex)) { in CheckImplicitInitList() [all …]
|
D | JumpDiagnostics.cpp | 166 const Expr *Init = VD->getInit(); in GetDiagForGotoScopeDecl() 228 if (Expr *Init = VD->getInit()) in BuildScopeInformation() 309 if (Stmt *Init = cast<SwitchStmt>(S)->getInit()) { in BuildScopeInformation()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 468 EmitInitializationToLValue(E->getInit(i), elementLV); in EmitArrayInit() 1154 return Visit(E->getInit(0)); in VisitInitListExpr() 1168 CGF.getContext().hasSameUnqualifiedType(E->getInit(0)->getType(), in VisitInitListExpr() 1171 return Visit(E->getInit(0)); in VisitInitListExpr() 1205 CGF.EmitAggExpr(E->getInit(curInitIndex++), AggSlot); in VisitInitListExpr() 1239 EmitInitializationToLValue(E->getInit(0), FieldLoc); in VisitInitListExpr() 1273 EmitInitializationToLValue(E->getInit(curInitIndex++), LV); in VisitInitListExpr() 1358 GetNumNonZeroBytesInInit(ILE->getInit(ILEElement++), CGF); in GetNumNonZeroBytesInInit() 1368 const Expr *E = ILE->getInit(ILEElement++); in GetNumNonZeroBytesInInit() 1385 NumNonZeroBytes += GetNumNonZeroBytesInInit(ILE->getInit(i), CGF); in GetNumNonZeroBytesInInit()
|
D | CGStmt.cpp | 575 if (S.getInit()) in EmitIfStmt() 576 EmitStmt(S.getInit()); in EmitIfStmt() 814 if (S.getInit()) in EmitForStmt() 815 EmitStmt(S.getInit()); in EmitForStmt() 1494 if (S.getInit()) in EmitSwitchStmt() 1495 EmitStmt(S.getInit()); in EmitSwitchStmt() 1525 if (S.getInit()) in EmitSwitchStmt() 1526 EmitStmt(S.getInit()); in EmitSwitchStmt()
|
D | CGDeclCXX.cpp | 35 const Expr *Init = D.getInit(); in EmitDeclInit() 144 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit() 508 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
|
D | CGExprConstant.cpp | 393 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build() 779 return Visit(ILE->getInit(0)); in EmitArrayInitialization() 811 Expr *Init = ILE->getInit(i); in EmitArrayInitialization() 888 Init = Updater->getInit(i); in EmitDesignatedInitUpdater() 1170 Init = Updater->getInit(ElementNo); in Build() 1207 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit() 1226 const Expr *E = D.getInit(); in EmitConstantInit()
|
D | CGDecl.cpp | 300 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); in AddInitializerToStaticVarDecl() 383 if (D.getInit() && !isCudaSharedVar) in EmitStaticVarDecl() 980 if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) && in EmitAutoVarAlloca() 984 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca() 1142 const Expr *Init = VD->getInit(); in isCapturedBy() 1189 const Expr *Init = D.getInit(); in EmitAutoVarInit()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/ |
D | VariableDeclarator.java | 70 public Expression getInit() { in getInit() method in VariableDeclarator
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 44 if (const clang::Expr *Init = VD->getInit()) { in VisitVarDecl()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefinedAssignmentChecker.cpp | 80 ex = VD->getInit(); in checkBind()
|
D | IdenticalExprChecker.cpp | 375 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 77 if (VD->getInit()) in HandleDecl()
|
D | StmtCXX.cpp | 73 return RangeDecl->getInit(); in getRangeInit()
|
D | StmtPrinter.cpp | 267 if (Node->getInit()) { in VisitForStmt() 268 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) in VisitForStmt() 271 PrintExpr(cast<Expr>(Node->getInit())); in VisitForStmt() 1202 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr() 1666 if (Node->getInit(i)) in VisitInitListExpr() 1667 PrintExpr(Node->getInit(i)); in VisitInitListExpr() 1712 PrintExpr(Node->getInit()); in VisitDesignatedInitExpr() 2089 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | ForStmt.java | 83 public List<Expression> getInit() { in getInit() method in ForStmt
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | ForStmt.java | 87 public List<Expression> getInit() { in getInit() method in ForStmt
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 37 if (Expr *Ex = VD->getInit()) in GetEndLoc() 1124 Expr *Init = I->getInit(); in addInitializer() 1238 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit()); in addAutomaticObjDtors() 1370 const Expr *Init = VD->getInit(); in addLocalScopeForVarDecl() 2102 Expr *Init = VD->getInit(); in VisitDeclSubExpr() 2173 if (Stmt *Init = I->getInit()) { in VisitIfStmt() 2287 if (Stmt *Init = I->getInit()) { in VisitIfStmt() 2405 if (Stmt *Init = F->getInit()) in VisitForStmt() 2520 if (Expr *Init = VD->getInit()) { in VisitForStmt() 2551 if (Stmt *I = F->getInit()) { in VisitForStmt() [all …]
|
D | PseudoConstantAnalysis.cpp | 183 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
|
/external/clang/include/clang/AST/ |
D | EvaluatedExprVisitor.h | 76 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 228 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar() 369 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 121 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl() 139 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/ |
D | VariableDeclarator.java | 100 public Expression getInit() { in getInit() method in VariableDeclarator
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 312 if (Expr *E = D->getInit()) { in VisitVarDecl() 1128 if (auto I = dyn_cast_or_null<InitListExpr>(Decl->getInit())) { in VisitVarDecl() 1130 if (I->getInit(idx)->EvaluateAsInt(res, C)) { in VisitVarDecl() 1136 if (auto I = dyn_cast_or_null<InitListExpr>(Decl->getInit())) { in VisitVarDecl() 1138 if (I->getInit(idx)->EvaluateAsInt(res, C)) { in VisitVarDecl()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/ |
D | VoidVisitorAdapter.java | 440 if (n.getInit() != null) { in visit() 441 for (final Expression e : n.getInit()) { in visit() 781 if (n.getInit() != null) { in visit() 782 n.getInit().accept(this, arg); in visit()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
D | VoidVisitorAdapter.java | 390 if (n.getInit() != null) { in visit() 391 for (final Expression e : n.getInit()) { in visit() 724 if (n.getInit() != null) { in visit() 725 n.getInit().accept(this, arg); in visit()
|