/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 | 340 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 664 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo() 687 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral() 688 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral() 697 blockExpr->getBlockDecl())); in EmitBlockLiteral() 705 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral() 750 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() 1043 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock() 1111 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() 1348 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction() [all …]
|
D | CGDecl.cpp | 574 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy() 1034 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
|
D | CGClass.cpp | 2340 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
|
D | CGObjCMac.cpp | 1952 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildGCBlockLayout() 2461 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 | 2242 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
D | RetainCountChecker.cpp | 2681 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 49 return Block->getBlockDecl(); in getDeclFromCall()
|
D | AnalysisDeclContext.cpp | 492 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr() 493 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
|
D | LiveVariables.cpp | 360 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
|
D | UninitializedValues.cpp | 693 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 357 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/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3280 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 3689 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 4387 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 4626 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
D | RewriteModernObjC.cpp | 4143 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 4575 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 5310 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 5579 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 754 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
|
D | StmtPrinter.cpp | 2177 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
|
D | ASTDumper.cpp | 1859 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5302 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr() 8220 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 8221 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr() 8276 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr() 8280 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
|
D | SemaExpr.cpp | 11357 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr() 11361 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr() 11363 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr() 11368 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 4540 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function 4541 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
|
D | DataRecursiveASTVisitor.h | 2181 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
D | RecursiveASTVisitor.h | 2211 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 809 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()
|