reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/RecursiveASTVisitor.h
 2505   TRY_TO(TraverseDecl(S->getBlockDecl()));
tools/clang/lib/AST/Expr.cpp
 1461     return BE->getBlockDecl();
tools/clang/lib/AST/StmtPrinter.cpp
 2401   BlockDecl *BD = Node->getBlockDecl();
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  610     IgnoredContexts.insert(BR->getBlockDecl());
  611     Visit(BR->getBlockDecl()->getBody());
tools/clang/lib/Analysis/CFG.cpp
 3215   for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) {
tools/clang/lib/Analysis/CallGraph.cpp
   63       return Block->getBlockDecl();
tools/clang/lib/Analysis/LiveVariables.cpp
  403        LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) {
tools/clang/lib/Analysis/UninitializedValues.cpp
  728   const BlockDecl *bd = be->getBlockDecl();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4050   BlockDecl *BD = CE->getBlockDecl();
 4480         InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl()));
 5197   const BlockDecl *block = Exp->getBlockDecl();
 5462     InnerContexts.insert(BE->getBlockDecl());
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3260   BlockDecl *BD = CE->getBlockDecl();
 3667         InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl()));
 4351   const BlockDecl *block = Exp->getBlockDecl();
 4584     InnerContexts.insert(BE->getBlockDecl());
tools/clang/lib/Sema/SemaChecking.cpp
  502         BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl();
13568       if (block->getBlockDecl()->capturesVariable(Variable))
13569         Visit(block->getBlockDecl()->getBody());
13626   if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable))
13630   visitor.Visit(block->getBlockDecl()->getBody());
tools/clang/lib/Sema/SemaDecl.cpp
11825           BE->getBlockDecl()->setCanAvoidCopyToHeap();
tools/clang/lib/Sema/SemaExpr.cpp
 5177           BE->getBlockDecl()->setDoesNotEscape();
12896               BE->getBlockDecl()->setCanAvoidCopyToHeap();
14402   if (Result->getBlockDecl()->hasCaptures()) {
14404     ExprCleanupObjects.push_back(Result->getBlockDecl());
14409     for (const auto &CI : Result->getBlockDecl()->captures()) {
tools/clang/lib/Sema/SemaExprObjC.cpp
 1669         BE->getBlockDecl()->setDoesNotEscape();
tools/clang/lib/Sema/SemaInit.cpp
 7257     if (cast<BlockExpr>(Init)->getBlockDecl()->hasCaptures()) {
tools/clang/lib/Sema/TreeTransform.h
12726   BlockDecl *oldBlock = E->getBlockDecl();
tools/clang/lib/Serialization/ASTWriterStmt.cpp
 1016   Record.AddDeclRef(E->getBlockDecl());