Home
last modified time | relevance | path

Searched refs:getInit (Results 1 – 25 of 128) sorted by relevance

123456

/external/clang/lib/Sema/
DSemaInit.cpp502 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 …]
DJumpDiagnostics.cpp166 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/
DCGExprAgg.cpp468 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()
DCGStmt.cpp575 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()
DCGDeclCXX.cpp35 const Expr *Init = D.getInit(); in EmitDeclInit()
144 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
508 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
DCGExprConstant.cpp393 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()
DCGDecl.cpp300 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/
DVariableDeclarator.java70 public Expression getInit() { in getInit() method in VariableDeclarator
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp44 if (const clang::Expr *Init = VD->getInit()) { in VisitVarDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp80 ex = VD->getInit(); in checkBind()
DIdenticalExprChecker.cpp375 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
/external/clang/lib/AST/
DStmtIterator.cpp77 if (VD->getInit()) in HandleDecl()
DStmtCXX.cpp73 return RangeDecl->getInit(); in getRangeInit()
DStmtPrinter.cpp267 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/
DForStmt.java83 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/
DForStmt.java87 public List<Expression> getInit() { in getInit() method in ForStmt
/external/clang/lib/Analysis/
DCFG.cpp37 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 …]
DPseudoConstantAnalysis.cpp183 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h76 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp228 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar()
369 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
/external/clang/lib/Index/
DIndexDecl.cpp121 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/
DVariableDeclarator.java100 public Expression getInit() { in getInit() method in VariableDeclarator
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc312 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/
DVoidVisitorAdapter.java440 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/
DVoidVisitorAdapter.java390 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()

123456