Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/angle/src/compiler/translator/
DUnfoldShortCircuit.cpp161 if (node->getInit()) in visitLoop()
163 node->getInit()->traverse(this); in visitLoop()
DForLoopUnroll.cpp46 TIntermSequence *declSeq = node->getInit()->getAsAggregate()->getSequence(); in visitLoop()
DLoopInfo.cpp97 node->getInit()->getAsAggregate()->getSequence(); in fillInfo()
DOutputGLSLBase.cpp814 if (node->getInit()) in visitLoop()
815 node->getInit()->traverse(this); in visitLoop()
830 node->getInit()->getAsAggregate()->getSequence(); in visitLoop()
/external/clang/lib/Sema/
DSemaInit.cpp463 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInEmptyInitForField()
513 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInEmptyInitForField()
592 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations()
701 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
712 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
731 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
789 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context) == in CheckExplicitInitList()
797 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
798 << IList->getInit(Index)->getSourceRange(); in CheckExplicitInitList()
820 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
[all …]
/external/javassist/src/main/javassist/compiler/ast/
DFieldDecl.java29 public ASTree getInit() { return (ASTree)sublist(2).head(); } in getInit() method in FieldDecl
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp46 if (const clang::Expr *Init = VD->getInit()) { in VisitVarDecl()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h62 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp80 ex = VD->getInit(); in checkBind()
DIdenticalExprChecker.cpp358 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
/external/clang/lib/AST/
DStmtIterator.cpp77 if (VD->getInit()) in HandleDecl()
DStmtPrinter.cpp265 if (Node->getInit()) { in VisitForStmt()
266 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) in VisitForStmt()
269 PrintExpr(cast<Expr>(Node->getInit())); in VisitForStmt()
1293 if (Node->getInit(i)) in VisitInitListExpr()
1294 PrintExpr(Node->getInit(i)); in VisitInitListExpr()
1335 PrintExpr(Node->getInit()); in VisitDesignatedInitExpr()
1663 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
DExprConstant.cpp3139 const Expr *InitE = VD->getInit(); in EvaluateDecl()
3430 if (FS->getInit()) { in EvaluateStmt()
3431 EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getInit()); in EvaluateStmt()
3675 if (!EvaluateInPlace(Result, Info, This, (*I)->getInit())) in HandleConstructorCall()
3725 if (!HandleLValueDirectBase(Info, I->getInit(), Subobject, RD, in HandleConstructorCall()
3730 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD, &Layout)) in HandleConstructorCall()
3757 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD)) in HandleConstructorCall()
3769 if (!EvaluateInPlace(*Value, Info, Subobject, I->getInit()) || in HandleConstructorCall()
3770 (FD && FD->isBitField() && !truncateBitfieldValue(Info, I->getInit(), in HandleConstructorCall()
4069 return StmtVisitorTy::Visit(E->getInit(0)); in VisitInitListExpr()
[all …]
/external/clang/tools/libclang/
DIndexDecl.cpp80 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl()
97 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp37 const Expr *Init = D.getInit(); in EmitDeclInit()
138 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
432 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
DCGExprAgg.cpp457 EmitInitializationToLValue(E->getInit(i), elementLV); in EmitArrayInit()
1126 return Visit(E->getInit(0)); in VisitInitListExpr()
1173 EmitInitializationToLValue(E->getInit(0), FieldLoc); in VisitInitListExpr()
1213 EmitInitializationToLValue(E->getInit(curInitIndex++), LV); in VisitInitListExpr()
1293 const Expr *E = ILE->getInit(ILEElement++); in GetNumNonZeroBytesInInit()
1310 NumNonZeroBytes += GetNumNonZeroBytesInInit(ILE->getInit(i), CGF); in GetNumNonZeroBytesInInit()
DCGDecl.cpp242 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); in AddInitializerToStaticVarDecl()
324 if (D.getInit()) in EmitStaticVarDecl()
859 if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) && in EmitAutoVarAlloca()
863 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca()
1016 const Expr *Init = VD->getInit(); in isCapturedBy()
1061 const Expr *Init = D.getInit(); in EmitAutoVarInit()
DCGClass.cpp405 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) in EmitBaseInitializer()
421 CGF.EmitAggExpr(BaseInit->getInit(), AggSlot); in EmitBaseInitializer()
538 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
569 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
590 CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); in EmitMemberInitializer()
931 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1806 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
DCGExprConstant.cpp370 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
725 return Visit(ILE->getInit(0)); in EmitArrayInitialization()
743 Expr *Init = ILE->getInit(i); in EmitArrayInitialization()
990 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit()
1009 const Expr *E = D.getInit(); in EmitConstantInit()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
DCFG.cpp37 if (Expr *Ex = VD->getInit()) in GetEndLoc()
1008 Expr *Init = I->getInit(); in addInitializer()
1110 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit()); in addAutomaticObjDtors()
1245 const Expr *Init = VD->getInit(); in addLocalScopeForVarDecl()
1969 Expr *Init = VD->getInit(); in VisitDeclSubExpr()
2247 if (Stmt *Init = F->getInit()) in VisitForStmt()
2362 if (Expr *Init = VD->getInit()) { in VisitForStmt()
2393 if (Stmt *I = F->getInit()) { in VisitForStmt()
2675 if (Expr *Init = VD->getInit()) { in VisitWhileStmt()
3000 if (Expr *Init = VD->getInit()) { in VisitSwitchStmt()
[all …]
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp238 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar()
379 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
/external/javassist/src/main/javassist/compiler/
DJavac.java135 if (fd.getInit() != null) in compileField()
136 f.setInit(fd.getInit()); in compileField()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineObjC.cpp80 assert(elemD->getInit() == nullptr); in VisitObjCForCollectionStmt()
DExprEngineCXX.cpp131 if (Var->getInit() && Var->getInit()->IgnoreImplicit() == CE) { in getRegionForConstructedObject()

1234