/external/clang/lib/CodeGen/ |
D | CGBlocks.h | 243 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function 246 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
|
D | CGBlocks.cpp | 334 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 648 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo() 671 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral() 672 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral() 681 blockExpr->getBlockDecl())); in EmitBlockLiteral() 689 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral() 730 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() 1019 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock() 1087 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() 1324 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction() [all …]
|
D | CGDecl.cpp | 536 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy() 995 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
|
D | CGClass.cpp | 2128 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
|
D | CGObjCMac.cpp | 1957 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildGCBlockLayout() 2466 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefCapturedBlockVarChecker.cpp | 57 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
D | MallocChecker.cpp | 1930 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
D | RetainCountChecker.cpp | 2645 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 49 return Block->getBlockDecl(); in getDeclFromCall()
|
D | AnalysisDeclContext.cpp | 485 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr() 486 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
|
D | LiveVariables.cpp | 362 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl()); in VisitBlockExpr()
|
D | UninitializedValues.cpp | 634 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 348 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 193 SVal V = svalBuilder.getBlockPointer(BE->getBlockDecl(), T, in VisitBlockExpr()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 616 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
|
D | StmtPrinter.cpp | 2052 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
|
D | ASTDumper.cpp | 1797 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 3289 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 3706 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 4406 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 4645 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
D | RewriteModernObjC.cpp | 4163 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 4603 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 5340 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 5605 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4604 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr() 7380 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 7381 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr() 7436 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr() 7440 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
|
D | SemaExpr.cpp | 10671 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr() 10675 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr() 10677 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr() 10682 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 4525 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function 4526 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
|
D | DataRecursiveASTVisitor.h | 2162 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
D | RecursiveASTVisitor.h | 2184 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 803 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()
|