Home
last modified time | relevance | path

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

1234

/external/clang/lib/Sema/
DSemaInit.cpp463 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInEmptyInitForField()
517 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInEmptyInitForField()
596 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations()
708 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
719 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
738 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
858 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context) == in CheckExplicitInitList()
866 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
867 << IList->getInit(Index)->getSourceRange(); in CheckExplicitInitList()
889 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.cpp462 EmitInitializationToLValue(E->getInit(i), elementLV); in EmitArrayInit()
1133 return Visit(E->getInit(0)); in VisitInitListExpr()
1151 CGF.getContext().hasSameUnqualifiedType(E->getInit(0)->getType(), in VisitInitListExpr()
1154 return Visit(E->getInit(0)); in VisitInitListExpr()
1190 EmitInitializationToLValue(E->getInit(0), FieldLoc); in VisitInitListExpr()
1230 EmitInitializationToLValue(E->getInit(curInitIndex++), LV); in VisitInitListExpr()
1310 const Expr *E = ILE->getInit(ILEElement++); in GetNumNonZeroBytesInInit()
1327 NumNonZeroBytes += GetNumNonZeroBytesInInit(ILE->getInit(i), CGF); in GetNumNonZeroBytesInInit()
DCGDeclCXX.cpp38 const Expr *Init = D.getInit(); in EmitDeclInit()
139 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit()
479 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
DCGDecl.cpp285 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); in AddInitializerToStaticVarDecl()
362 if (D.getInit()) in EmitStaticVarDecl()
898 if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) && in EmitAutoVarAlloca()
902 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca()
1055 const Expr *Init = VD->getInit(); in isCapturedBy()
1101 const Expr *Init = D.getInit(); in EmitAutoVarInit()
DCGExprConstant.cpp379 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
746 return Visit(ILE->getInit(0)); in EmitArrayInitialization()
778 Expr *Init = ILE->getInit(i); in EmitArrayInitialization()
1017 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit()
1036 const Expr *E = D.getInit(); in EmitConstantInit()
DCGClass.cpp417 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) in EmitBaseInitializer()
433 CGF.EmitAggExpr(BaseInit->getInit(), AggSlot); in EmitBaseInitializer()
551 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
582 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
602 CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); in EmitMemberInitializer()
1023 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1898 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
DCGStmtOpenMP.cpp192 auto *Init = VD->getInit(); in EmitOMPFirstprivateClause()
758 CGF.EmitIgnoredExpr(S.getInit()); in EmitOMPSimdDirective()
912 EmitIgnoredExpr(S.getInit()); in EmitOMPForOuterLoop()
937 EmitIgnoredExpr(S.getInit()); in EmitOMPForOuterLoop()
1054 EmitIgnoredExpr(S.getInit()); in EmitOMPWorksharingLoop()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp80 ex = VD->getInit(); in checkBind()
DIdenticalExprChecker.cpp358 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
DMallocSizeofChecker.cpp106 if (const Expr *Init = VD->getInit()) in VisitDeclStmt()
DLLVMConventionsChecker.cpp154 Expr *Init = VD->getInit(); in VisitVarDecl()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h73 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
/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()
1380 if (Node->getInit(i)) in VisitInitListExpr()
1381 PrintExpr(Node->getInit(i)); in VisitInitListExpr()
1422 PrintExpr(Node->getInit()); in VisitDesignatedInitExpr()
1774 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
DExprConstant.cpp3225 const Expr *InitE = VD->getInit(); in EvaluateDecl()
3516 if (FS->getInit()) { in EvaluateStmt()
3517 EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getInit()); in EvaluateStmt()
3781 if (!EvaluateInPlace(Result, Info, This, (*I)->getInit())) in HandleConstructorCall()
3838 if (!HandleLValueDirectBase(Info, I->getInit(), Subobject, RD, in HandleConstructorCall()
3843 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD, &Layout)) in HandleConstructorCall()
3870 if (!HandleLValueMember(Info, I->getInit(), Subobject, FD)) in HandleConstructorCall()
3882 if (!EvaluateInPlace(*Value, Info, Subobject, I->getInit()) || in HandleConstructorCall()
3883 (FD && FD->isBitField() && !truncateBitfieldValue(Info, I->getInit(), in HandleConstructorCall()
4182 return StmtVisitorTy::Visit(E->getInit(0)); in VisitInitListExpr()
[all …]
DExprClassification.cpp367 return ClassifyInternal(Ctx, cast<DesignatedInitExpr>(E)->getInit()); in ClassifyInternal()
396 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/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp238 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar()
379 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
DCFG.cpp37 if (Expr *Ex = VD->getInit()) in GetEndLoc()
1077 Expr *Init = I->getInit(); in addInitializer()
1178 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit()); in addAutomaticObjDtors()
1313 const Expr *Init = VD->getInit(); in addLocalScopeForVarDecl()
2036 Expr *Init = VD->getInit(); in VisitDeclSubExpr()
2314 if (Stmt *Init = F->getInit()) in VisitForStmt()
2429 if (Expr *Init = VD->getInit()) { in VisitForStmt()
2460 if (Stmt *I = F->getInit()) { in VisitForStmt()
2742 if (Expr *Init = VD->getInit()) { in VisitWhileStmt()
3067 if (Expr *Init = VD->getInit()) { in VisitSwitchStmt()
[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() == nullptr); in VisitObjCForCollectionStmt()
DExprEngineCXX.cpp131 if (Var->getInit() && Var->getInit()->IgnoreImplicit() == CE) { in getRegionForConstructedObject()

1234