/external/clang/include/clang/AST/ |
D | Mangle.h | 26 class BlockDecl; variable 72 llvm::DenseMap<const BlockDecl*, unsigned> GlobalBlockIds; 73 llvm::DenseMap<const BlockDecl*, unsigned> LocalBlockIds; 88 unsigned getBlockId(const BlockDecl *BD, bool Local) { in getBlockId() 89 llvm::DenseMap<const BlockDecl *, unsigned> &BlockIds in getBlockId() 91 std::pair<llvm::DenseMap<const BlockDecl *, unsigned>::iterator, bool> in getBlockId() 123 void mangleGlobalBlock(const BlockDecl *BD, 126 const BlockDecl *BD, raw_ostream &Out); 128 const BlockDecl *BD, raw_ostream &Out); 129 void mangleBlock(const DeclContext *DC, const BlockDecl *BD, [all …]
|
D | GlobalDecl.h | 43 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
|
D | Decl.h | 3064 class BlockDecl : public Decl, public DeclContext { 3123 BlockDecl(DeclContext *DC, SourceLocation CaretLoc) in BlockDecl() function 3131 static BlockDecl *Create(ASTContext &C, DeclContext *DC, SourceLocation L); 3132 static BlockDecl *CreateDeserialized(ASTContext &C, unsigned ID); 3202 static bool classof(const BlockDecl *D) { return true; } in classof() 3204 static DeclContext *castToDeclContext(const BlockDecl *D) { in castToDeclContext() 3205 return static_cast<DeclContext *>(const_cast<BlockDecl*>(D)); in castToDeclContext() 3207 static BlockDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 3208 return static_cast<BlockDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
|
/external/clang/lib/AST/ |
D | Mangle.cpp | 41 const BlockDecl *BD, in mangleFunctionBlock() 46 static void checkMangleDC(const DeclContext *DC, const BlockDecl *BD) { in checkMangleDC() 49 while (isa<BlockDecl>(ExpectedDC) || isa<EnumDecl>(ExpectedDC)) in checkMangleDC() 64 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock() 70 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock() 81 CXXDtorType DT, const BlockDecl *BD, in mangleDtorBlock() 91 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, in mangleBlock() 133 void MangleContext::mangleBlock(const BlockDecl *BD, in mangleBlock() 136 while (isa<BlockDecl>(DC) || isa<EnumDecl>(DC)) in mangleBlock()
|
D | Decl.cpp | 2760 void BlockDecl::setParams(llvm::ArrayRef<ParmVarDecl *> NewParamInfo) { in setParams() 2771 void BlockDecl::setCaptures(ASTContext &Context, in setCaptures() 2793 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() 2803 SourceRange BlockDecl::getSourceRange() const { in getSourceRange() 2876 BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { in Create() 2877 return new (C) BlockDecl(DC, L); in Create() 2880 BlockDecl *BlockDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2881 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(BlockDecl)); in CreateDeserialized() 2882 return new (Mem) BlockDecl(0, SourceLocation()); in CreateDeserialized()
|
D | StmtDumper.cpp | 510 BlockDecl *block = Node->getBlockDecl(); in VisitBlockExpr() 517 for (BlockDecl::capture_iterator in VisitBlockExpr()
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 86 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getBody() 98 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl() 100 for (BlockDecl::capture_const_iterator it = BD->capture_begin(), in getSelfDecl() 389 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls() 409 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars() 411 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>(); in getReferencedBlockVars()
|
D | UninitializedValues.cpp | 434 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr() 435 for (BlockDecl::capture_const_iterator i = bd->capture_begin(), in VisitBlockExpr()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 95 llvm::DenseMap<const BlockDecl*,void*> *ReferencedBlockVars; 162 getReferencedBlockVars(const BlockDecl *BD); 323 const BlockDecl *BD; 329 const BlockDecl *bd) in BlockInvocationContext() 335 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() 340 const LocationContext *parent, const BlockDecl *bd) { in Profile()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 78 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl() 81 for (BlockDecl::capture_iterator in VisitBlockDecl() 122 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
|
D | Transforms.h | 20 class BlockDecl; variable
|
D | TransZeroOutPropsInDealloc.cpp | 145 bool TraverseBlockDecl(BlockDecl *block) { return true; } in TraverseBlockDecl()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.h | 191 const BlockDecl *Block; 216 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() 223 CGBlockInfo(const BlockDecl *blockDecl, llvm::StringRef Name);
|
D | CGBlocks.cpp | 28 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name) in CGBlockInfo() 168 const BlockDecl::Capture *Capture; // null for 'this' 172 const BlockDecl::Capture *capture, in BlockLayoutChunk() 285 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 307 for (; isa<BlockDecl>(DC); DC = cast<BlockDecl>(DC)->getDeclContext()) in computeBlockInfo() 324 for (BlockDecl::capture_const_iterator ci = block->capture_begin(), in computeBlockInfo() 493 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) { in enterBlockScope() 519 for (BlockDecl::capture_const_iterator ci = block->capture_begin(), in enterBlockScope() 580 const BlockDecl *block) { in findAndRemoveBlockInfo() 667 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() [all …]
|
D | CGDecl.cpp | 154 if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) { in GetStaticDeclName() 921 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy() 922 for (BlockDecl::capture_const_iterator i = block->capture_begin(), in isCapturedBy()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 24 class BlockDecl; variable 298 BlockDecl *TheDecl; 308 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | MemRegion.h | 539 const BlockDecl *BD; 543 BlockTextRegion(const BlockDecl *bd, CanQualType lTy, in BlockTextRegion() 552 const BlockDecl *getDecl() const { in getDecl() 562 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockDecl *BD, 590 const BlockDecl *getDecl() const { return BC->getDecl(); } in getDecl() 1170 const BlockTextRegion *getBlockTextRegion(const BlockDecl *BD,
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 71 void BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl, 238 const BlockDecl *BDecl, in BuildScopeInformation() 458 const BlockDecl *BDecl = BE->getBlockDecl(); in BuildScopeInformation() 459 for (BlockDecl::capture_const_iterator ci = BDecl->capture_begin(), in BuildScopeInformation()
|
D | SemaLambda.cpp | 769 BlockDecl *Block = BlockDecl::Create(Context, CurContext, ConvLocation); in BuildBlockForLambdaConversion() 803 BlockDecl::Capture Capture(/*Variable=*/CapVar, /*ByRef=*/false, in BuildBlockForLambdaConversion()
|
D | SemaDeclAttr.cpp | 99 return isa<BlockDecl>(D); in isFunctionOrMethodOrBlock() 106 return isa<DeclaratorDecl>(D) || isa<BlockDecl>(D) || isa<TypedefNameDecl>(D) || in hasDeclarator() 117 assert(isa<ObjCMethodDecl>(D) || isa<BlockDecl>(D)); in hasFunctionProto() 128 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getFunctionOrMethodNumArgs() 136 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getFunctionOrMethodArgType() 152 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in isFunctionOrMethodVariadic() 1337 if (!isFunctionOrMethod(D) && !isa<BlockDecl>(D)) { in handleAnalyzerNoReturnAttr() 1921 } else if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in handleSentinelAttr()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 191 else if (isa<BlockDecl>(D)) { in DisplayFunction() 436 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in FindBlocks()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 366 const BlockDecl *BD, CanQualType, in ProfileRegion() 694 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getVarRegion() 723 const BlockDecl *BD = BC->getDecl(); in getBlockDataRegion() 792 MemRegionManager::getBlockTextRegion(const BlockDecl *BD, CanQualType locTy, in getBlockTextRegion()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | AnalyzerStatsChecker.cpp | 101 else if (isa<BlockDecl>(D)) { in checkEndAnalysis()
|
D | StackAddrEscapeChecker.cpp | 68 const BlockDecl *BD = BR->getCodeRegion()->getDecl(); in GenName()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 189 bool VisitBlockDecl(BlockDecl *B);
|