Home
last modified time | relevance | path

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

1234

/external/clang/lib/Sema/
DSemaInit.cpp495 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInEmptyInitForField()
557 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInEmptyInitForField()
561 = dyn_cast<DesignatedInitUpdateExpr>(ILE->getInit(Init))) in FillInEmptyInitForField()
653 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations()
780 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
791 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
809 ParentIList->getInit(EndIndex)) { in CheckImplicitInitList()
811 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
931 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context) == in CheckExplicitInitList()
939 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.cpp44 if (const clang::Expr *Init = VD->getInit()) { in VisitVarDecl()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp467 EmitInitializationToLValue(E->getInit(i), elementLV); in EmitArrayInit()
1147 return Visit(E->getInit(0)); in VisitInitListExpr()
1161 CGF.getContext().hasSameUnqualifiedType(E->getInit(0)->getType(), in VisitInitListExpr()
1164 return Visit(E->getInit(0)); in VisitInitListExpr()
1200 EmitInitializationToLValue(E->getInit(0), FieldLoc); in VisitInitListExpr()
1240 EmitInitializationToLValue(E->getInit(curInitIndex++), LV); in VisitInitListExpr()
1331 const Expr *E = ILE->getInit(ILEElement++); in GetNumNonZeroBytesInInit()
1348 NumNonZeroBytes += GetNumNonZeroBytesInInit(ILE->getInit(i), CGF); in GetNumNonZeroBytesInInit()
DCGDeclCXX.cpp35 const Expr *Init = D.getInit(); in EmitDeclInit()
136 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
489 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
DCGExprConstant.cpp386 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
766 return Visit(ILE->getInit(0)); in EmitArrayInitialization()
798 Expr *Init = ILE->getInit(i); in EmitArrayInitialization()
875 Init = Updater->getInit(i); in EmitDesignatedInitUpdater()
1150 Init = Updater->getInit(ElementNo); in Build()
1187 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit()
1206 const Expr *E = D.getInit(); in EmitConstantInit()
DCGDecl.cpp291 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); in AddInitializerToStaticVarDecl()
367 if (D.getInit()) in EmitStaticVarDecl()
969 if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) && in EmitAutoVarAlloca()
973 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca()
1131 const Expr *Init = VD->getInit(); in isCapturedBy()
1177 const Expr *Init = D.getInit(); in EmitAutoVarInit()
DCGStmtOpenMP.cpp383 auto *Init = VD->getInit(); in EmitOMPFirstprivateClause()
720 auto *Init = PrivateVD->getInit(); in EmitOMPReductionClauseInit()
983 cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())->getDecl()); in EmitOMPLinearClauseInit()
986 VD->getInit()->getType(), VK_LValue, in EmitOMPLinearClauseInit()
987 VD->getInit()->getExprLoc()); in EmitOMPLinearClauseInit()
1210 CGF.EmitIgnoredExpr(S.getInit()); in EmitOMPSimdDirective()
1348 EmitIgnoredExpr(S.getInit()); in EmitOMPForOuterLoop()
1373 EmitIgnoredExpr(S.getInit()); in EmitOMPForOuterLoop()
1556 EmitIgnoredExpr(S.getInit()); in EmitOMPWorksharingLoop()
DCGClass.cpp541 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) in EmitBaseInitializer()
556 CGF.EmitAggExpr(BaseInit->getInit(), AggSlot); in EmitBaseInitializer()
702 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
724 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
749 CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); in EmitMemberInitializer()
1149 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
2256 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp80 ex = VD->getInit(); in checkBind()
DIdenticalExprChecker.cpp377 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
DMallocSizeofChecker.cpp105 if (const Expr *Init = VD->getInit()) in VisitDeclStmt()
/external/clang/lib/AST/
DStmtIterator.cpp77 if (VD->getInit()) in HandleDecl()
DStmtCXX.cpp71 return RangeDecl->getInit(); in getRangeInit()
DStmtPrinter.cpp266 if (Node->getInit()) { in VisitForStmt()
267 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) in VisitForStmt()
270 PrintExpr(cast<Expr>(Node->getInit())); in VisitForStmt()
1536 if (Node->getInit(i)) in VisitInitListExpr()
1537 PrintExpr(Node->getInit(i)); in VisitInitListExpr()
1584 PrintExpr(Node->getInit()); in VisitDesignatedInitExpr()
1959 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
DExprConstant.cpp3310 const Expr *InitE = VD->getInit(); in EvaluateDecl()
3613 if (FS->getInit()) { in EvaluateStmt()
3614 EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getInit()); in EvaluateStmt()
3886 if (!EvaluateInPlace(Result, Info, This, (*I)->getInit())) in HandleConstructorCall()
3941 if (!HandleLValueDirectBase(Info, I->getInit(), Subobject, RD, in HandleConstructorCall()
3946 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD, &Layout)) in HandleConstructorCall()
3973 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD)) in HandleConstructorCall()
3985 if (!EvaluateInPlace(*Value, Info, Subobject, I->getInit()) || in HandleConstructorCall()
3986 (FD && FD->isBitField() && !truncateBitfieldValue(Info, I->getInit(), in HandleConstructorCall()
4293 return StmtVisitorTy::Visit(E->getInit(0)); in VisitInitListExpr()
[all …]
DExprClassification.cpp372 return ClassifyInternal(Ctx, cast<DesignatedInitExpr>(E)->getInit()); in ClassifyInternal()
401 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
/external/clang/tools/libclang/
DIndexDecl.cpp80 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl()
97 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h76 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
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()
2101 Expr *Init = VD->getInit(); in VisitDeclSubExpr()
2391 if (Stmt *Init = F->getInit()) in VisitForStmt()
2506 if (Expr *Init = VD->getInit()) { in VisitForStmt()
2537 if (Stmt *I = F->getInit()) { in VisitForStmt()
2819 if (Expr *Init = VD->getInit()) { in VisitWhileStmt()
3144 if (Expr *Init = VD->getInit()) { in VisitSwitchStmt()
[all …]
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp228 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar()
369 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.cpp119 if (Var->getInit() && Var->getInit()->IgnoreImplicit() == CE) { in getRegionForConstructedObject()

1234