/external/clang/lib/Sema/ |
D | SemaInit.cpp | 495 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/ |
D | FieldDecl.java | 29 public ASTree getInit() { return (ASTree)sublist(2).head(); } in getInit() method in FieldDecl
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 44 if (const clang::Expr *Init = VD->getInit()) { in VisitVarDecl()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 467 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()
|
D | CGDeclCXX.cpp | 35 const Expr *Init = D.getInit(); in EmitDeclInit() 136 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit() 489 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
|
D | CGExprConstant.cpp | 386 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()
|
D | CGDecl.cpp | 291 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()
|
D | CGStmtOpenMP.cpp | 383 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()
|
D | CGClass.cpp | 541 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/ |
D | UndefinedAssignmentChecker.cpp | 80 ex = VD->getInit(); in checkBind()
|
D | IdenticalExprChecker.cpp | 377 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
|
D | MallocSizeofChecker.cpp | 105 if (const Expr *Init = VD->getInit()) in VisitDeclStmt()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 77 if (VD->getInit()) in HandleDecl()
|
D | StmtCXX.cpp | 71 return RangeDecl->getInit(); in getRangeInit()
|
D | StmtPrinter.cpp | 266 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()
|
D | ExprConstant.cpp | 3310 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 …]
|
D | ExprClassification.cpp | 372 return ClassifyInternal(Ctx, cast<DesignatedInitExpr>(E)->getInit()); in ClassifyInternal() 401 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 80 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl() 97 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
|
/external/clang/include/clang/AST/ |
D | EvaluatedExprVisitor.h | 76 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
|
D | CFG.cpp | 37 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/ |
D | TransRetainReleaseDealloc.cpp | 228 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar() 369 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
|
/external/javassist/src/main/javassist/compiler/ |
D | Javac.java | 135 if (fd.getInit() != null) in compileField() 136 f.setInit(fd.getInit()); in compileField()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineObjC.cpp | 80 assert(elemD->getInit() == nullptr); in VisitObjCForCollectionStmt()
|
D | ExprEngineCXX.cpp | 119 if (Var->getInit() && Var->getInit()->IgnoreImplicit() == CE) { in getRegionForConstructedObject()
|