Home
last modified time | relevance | path

Searched refs:getInit (Results 1 – 25 of 141) 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 …]
/external/angle/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp188 if (!mFoundLoopToChange && node->getInit()) in traverseLoop()
190 node->getInit()->traverse(this); in traverseLoop()
344 if (node->getInit()) in traverseLoop()
346 loopScopeSequence->push_back(node->getInit()); in traverseLoop()
DRemoveUnreferencedVariables.cpp351 if (node->getInit()) in traverseLoop()
352 node->getInit()->traverse(this); in traverseLoop()
DPruneEmptyCases.cpp98 TIntermTyped *init = node->getInit(); in visitSwitch()
DPruneNoOps.cpp192 TIntermNode *init = loop->getInit(); in visitLoop()
/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()
DCGDeclCXX.cpp35 const Expr *Init = D.getInit(); in EmitDeclInit()
144 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
508 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
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()
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()
/external/javassist/src/main/javassist/compiler/ast/
DFieldDecl.java33 public ASTree getInit() { return sublist(2).head(); } in getInit() method in FieldDecl
/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()
/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/angle/src/compiler/translator/
DValidateLimitations.cpp24 TIntermSequence *declSeq = loop->getInit()->getAsDeclarationNode()->getSequence(); in GetLoopSymbolId()
209 TIntermNode *init = node->getInit(); in validateForLoopInit()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h76 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/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/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/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()

123456