Home
last modified time | relevance | path

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

1234

/external/clang/lib/Sema/
DSemaInit.cpp295 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInValueInitForField()
342 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInValueInitForField()
420 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : 0); in FillInValueInitializations()
537 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
548 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
570 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
627 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context)) { in CheckExplicitInitList()
634 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
635 << IList->getInit(Index)->getSourceRange(); in CheckExplicitInitList()
657 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/include/clang/Analysis/Visitors/
DCFGRecStmtVisitor.h50 static_cast<ImplClass*>(this)->Visit(CondVar->getInit()); in VisitConditionVariableInit()
DCFGRecStmtDeclVisitor.h52 if (Expr *I = VD->getInit()) in VisitDeclStmt()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h62 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp72 ex = VD->getInit(); in checkBind()
DMallocSizeofChecker.cpp107 if (const Expr *Init = VD->getInit()) in VisitDeclStmt()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp36 const Expr *Init = D.getInit(); in EmitDeclInit()
135 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
367 FunctionArgList(), D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
DCGExprAgg.cpp491 InitListExpr *initList = dyn_cast<InitListExpr>(E->getInit(i)); in EmitArrayInit()
496 EmitInitializationToLValue(E->getInit(i), elementLV); in EmitArrayInit()
1170 return Visit(E->getInit(0)); in VisitInitListExpr()
1216 EmitInitializationToLValue(E->getInit(0), FieldLoc); in VisitInitListExpr()
1258 EmitInitializationToLValue(E->getInit(curInitIndex++), LV); in VisitInitListExpr()
1339 const Expr *E = ILE->getInit(ILEElement++); in GetNumNonZeroBytesInInit()
1356 NumNonZeroBytes += GetNumNonZeroBytesInInit(ILE->getInit(i), CGF); in GetNumNonZeroBytesInInit()
1563 const InitListExpr *subInit = dyn_cast<InitListExpr>(init->getInit(i)); in EmitRecursiveStdInitializerListCleanup()
DCGDecl.cpp227 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); in AddInitializerToStaticVarDecl()
311 if (D.getInit()) in EmitStaticVarDecl()
812 if (D.getInit() && in EmitAutoVarAlloca()
816 D.getInit()->isConstantInitializer(getContext(), false)) { in EmitAutoVarAlloca()
969 Expr *Init = VD->getInit(); in isCapturedBy()
1014 const Expr *Init = D.getInit(); in EmitAutoVarInit()
DCGClass.cpp402 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) in EmitBaseInitializer()
418 CGF.EmitAggExpr(BaseInit->getInit(), AggSlot); in EmitBaseInitializer()
546 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
579 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
600 CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); in EmitMemberInitializer()
907 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1796 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
DCGExprConstant.cpp410 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
766 return Visit(ILE->getInit(0)); in EmitArrayInitialization()
784 Expr *Init = ILE->getInit(i); in EmitArrayInitialization()
1019 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit()
1039 const Expr *E = D.getInit(); in EmitConstantInit()
DCGExprComplex.cpp757 llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0)); in VisitInitListExpr()
758 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr()
761 return Visit(E->getInit(0)); in VisitInitListExpr()
/external/clang/tools/libclang/
DIndexDecl.cpp77 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl()
94 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
/external/clang/lib/AST/
DStmtIterator.cpp98 if (VD->getInit()) in HandleDecl()
DStmtPrinter.cpp278 if (Node->getInit()) { in VisitForStmt()
279 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) in VisitForStmt()
282 PrintExpr(cast<Expr>(Node->getInit())); in VisitForStmt()
1027 if (Node->getInit(i)) in VisitInitListExpr()
1028 PrintExpr(Node->getInit(i)); in VisitInitListExpr()
1067 PrintExpr(Node->getInit()); in VisitDesignatedInitExpr()
DExprClassification.cpp357 return ClassifyInternal(Ctx, cast<DesignatedInitExpr>(E)->getInit()); in ClassifyInternal()
386 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
DExprConstant.cpp2194 return EvaluateInPlace(Result, Info, This, (*I)->getInit()); in HandleConstructorCall()
2238 if (!HandleLValueDirectBase(Info, (*I)->getInit(), Subobject, RD, in HandleConstructorCall()
2243 if (!HandleLValueMember(Info, (*I)->getInit(), Subobject, FD, &Layout)) in HandleConstructorCall()
2272 if (!HandleLValueMember(Info, (*I)->getInit(), Subobject, FD)) in HandleConstructorCall()
2283 if (!EvaluateInPlace(*Value, Info, Subobject, (*I)->getInit(), in HandleConstructorCall()
2580 return StmtVisitorTy::Visit(E->getInit(0)); in VisitInitListExpr()
3415 const Expr *InitExpr = E->getNumInits() ? E->getInit(0) : &VIE; in VisitInitListExpr()
3442 if (!HandleLValueMember(Info, HaveInit ? E->getInit(ElementNo) : E, in VisitInitListExpr()
3452 Info, Subobject, HaveInit ? E->getInit(ElementNo++) : &VIE)) { in VisitInitListExpr()
3688 && E->getInit(CountInits)->getType()->isExtVectorType()) { in VisitInitListExpr()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DOutputHLSL.cpp1436 if (node->getInit()) in visitLoop()
1438 mUnfoldSelect->traverse(node->getInit()); in visitLoop()
1453 if (node->getInit()) in visitLoop()
1455 node->getInit()->traverse(this); in visitLoop()
1570 if (node->getInit()) in handleExcessiveLoop()
1572 TIntermAggregate *init = node->getInit()->getAsAggregate(); in handleExcessiveLoop()
DOutputGLSL.cpp619 if (node->getInit()) in visitLoop()
620 node->getInit()->traverse(this); in visitLoop()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp238 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar()
379 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp186 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
DCFG.cpp36 if (Expr *Ex = VD->getInit()) in GetEndLoc()
741 Expr *Init = I->getInit(); in addInitializer()
843 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit()); in addAutomaticObjDtors()
980 QT = getReferenceInitTemporaryType(*Context, VD->getInit()); in addLocalScopeForVarDecl()
1658 Expr *Init = VD->getInit(); in VisitDeclSubExpr()
1820 if (Expr *Init = VD->getInit()) { in VisitIfStmt()
1925 if (Stmt *Init = F->getInit()) in VisitForStmt()
2040 if (Expr *Init = VD->getInit()) { in VisitForStmt()
2070 if (Stmt *I = F->getInit()) { in VisitForStmt()
2346 if (Expr *Init = VD->getInit()) { in VisitWhileStmt()
[all …]
/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() == 0); in VisitObjCForCollectionStmt()

1234