/external/clang/lib/Sema/ |
D | SemaInit.cpp | 463 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/ |
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 | 462 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()
|
D | CGDeclCXX.cpp | 38 const Expr *Init = D.getInit(); in EmitDeclInit() 139 const Expr *Init = D.getInit(); in EmitCXXGlobalVarDeclInit() 479 D->getInit()->getExprLoc()); in GenerateCXXGlobalVarDeclInitFunc()
|
D | CGDecl.cpp | 285 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()
|
D | CGExprConstant.cpp | 379 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()
|
D | CGClass.cpp | 417 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()
|
D | CGStmtOpenMP.cpp | 192 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/ |
D | UndefinedAssignmentChecker.cpp | 80 ex = VD->getInit(); in checkBind()
|
D | IdenticalExprChecker.cpp | 358 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), in isIdenticalStmt()
|
D | MallocSizeofChecker.cpp | 106 if (const Expr *Init = VD->getInit()) in VisitDeclStmt()
|
D | LLVMConventionsChecker.cpp | 154 Expr *Init = VD->getInit(); in VisitVarDecl()
|
/external/clang/include/clang/AST/ |
D | EvaluatedExprVisitor.h | 73 return this->Visit(E->getInit()); in VisitDesignatedInitExpr()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 77 if (VD->getInit()) in HandleDecl()
|
D | StmtPrinter.cpp | 265 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()
|
D | ExprConstant.cpp | 3225 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 …]
|
D | ExprClassification.cpp | 367 return ClassifyInternal(Ctx, cast<DesignatedInitExpr>(E)->getInit()); in ClassifyInternal() 396 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/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 238 return isPlusOne(VD->getInit()); in isPlusOneAssignToVar() 379 Expr *Init = VD->getInit(); in checkForGCDOrXPC()
|
/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() 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/ |
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 | 131 if (Var->getInit() && Var->getInit()->IgnoreImplicit() == CE) { in getRegionForConstructedObject()
|