Searched refs:BlockDecl (Results 51 - 75 of 97) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp259 DefinedSVal SValBuilder::getBlockPointer(const BlockDecl *block,
H A DExprEngineCallAndReturn.cpp444 cast<BlockDecl>(D),
H A DExprEngineC.cpp201 const BlockDecl *BD = BE->getBlockDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp924 if (isa<BlockDecl>(D)) {
1211 else if (isa<BlockDecl>(D))
H A DUninitializedValues.cpp709 const BlockDecl *bd = be->getBlockDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h44 class BlockDecl;
5794 /// BlockExpr - Adaptor class for mixing a BlockDecl with expressions.
5798 BlockDecl *TheBlock;
5800 BlockExpr(BlockDecl *BD, QualType ty)
5808 const BlockDecl *getBlockDecl() const { return TheBlock; }
5809 BlockDecl *getBlockDecl() { return TheBlock; }
5810 void setBlockDecl(BlockDecl *BD) { TheBlock = BD; }
5812 // Convenience functions for probing the underlying BlockDecl.
H A DExprCXX.h3300 llvm::PointerUnion<BlockDecl *, CompoundLiteralExpr *>> {
3306 using CleanupObject = llvm::PointerUnion<BlockDecl *, CompoundLiteralExpr *>;
H A DRecursiveASTVisitor.h1368 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1412 DEF_TRAVERSE_DECL(BlockDecl, {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp2486 BlockDecl *BD = Node->getBlockDecl();
2495 for (BlockDecl::param_iterator AI = BD->param_begin(),
H A DTextNodeDumper.cpp315 void TextNodeDumper::Visit(const BlockDecl::Capture &C) {
677 if (auto *BD = C.dyn_cast<BlockDecl *>())
2239 void TextNodeDumper::VisitBlockDecl(const BlockDecl *D) {
H A DMicrosoftMangle.cpp95 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) {
1068 if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp914 else if (auto *BD = dyn_cast<BlockDecl>(D))
H A DSemaCodeComplete.cpp384 if (isa<BlockDecl>(S.CurContext)) {
2757 formatBlockPlaceholder(const PrintingPolicy &Policy, const NamedDecl *BlockDecl,
2850 /// \param BlockDecl A declaration with an Objective-C block type.
2857 formatBlockPlaceholder(const PrintingPolicy &Policy, const NamedDecl *BlockDecl, argument
2865 ResultType.substObjCTypeArgs(BlockDecl->getASTContext(), *ObjCSubsts,
2895 if (!SuppressBlockName && BlockDecl->getIdentifier())
2896 Result += BlockDecl->getIdentifier()->getName();
2904 if (!SuppressBlockName && BlockDecl->getIdentifier())
2905 Result += BlockDecl->getIdentifier()->getName();
4013 while (isa<BlockDecl>(CurContex
[all...]
H A DSemaDeclAttr.cpp65 return isFunctionOrMethod(D) || isa<BlockDecl>(D);
72 return isa<DeclaratorDecl>(D) || isa<BlockDecl>(D) || isa<TypedefNameDecl>(D) ||
82 return isa<ObjCMethodDecl>(D) || isa<BlockDecl>(D);
91 if (const auto *BD = dyn_cast<BlockDecl>(D))
102 if (const auto *BD = dyn_cast<BlockDecl>(D))
110 if (const auto *BD = dyn_cast<BlockDecl>(D))
139 if (const auto *BD = dyn_cast<BlockDecl>(D))
2786 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) {
6718 // BlockDecl doesn't store a return type, so it's annoying to check,
6720 if (!isa<BlockDecl>(
[all...]
H A DAnalysisBasedWarnings.cpp657 else if (isa<BlockDecl>(D)) {
2188 (isa<BlockDecl>(D)
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp419 if (const auto *BD = dyn_cast<BlockDecl>(D))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp399 void VisitBlockDecl(BlockDecl *BD);
1519 void ASTDeclReader::VisitBlockDecl(BlockDecl *BD) {
1538 SmallVector<BlockDecl::Capture, 16> captures;
1547 captures.push_back(BlockDecl::Capture(decl, byRef, nested, copyExpr));
3991 D = BlockDecl::CreateDeserialized(Context, ID);
H A DASTReaderStmt.cpp1332 E->setBlockDecl(readDeclAs<BlockDecl>());
1916 Obj = readDeclAs<BlockDecl>();
H A DASTWriterDecl.cpp127 void VisitBlockDecl(BlockDecl *D);
1176 void ASTDeclWriter::VisitBlockDecl(BlockDecl *D) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.h1191 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
H A DCGDebugInfo.cpp3810 if (isa<BlockDecl>(D))
4388 const BlockDecl::Capture *Capture;
4440 const BlockDecl *blockDecl = block.getBlockDecl();
4492 const BlockDecl::Capture *capture = Chunk.Capture;
H A DCGStmtOpenMP.cpp64 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) &&
65 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD));
198 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) &&
199 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD));
277 (CurCodeDecl && isa<BlockDecl>(CurCodeDecl));
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h1026 clang::BlockDecl *CreateBlockDeclaration(clang::DeclContext *ctx,
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp792 const internal::VariadicDynCastAllOfMatcher<Decl, BlockDecl>
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp3386 clang::BlockDecl *DWARFASTParserClang::ResolveBlockDIE(const DWARFDIE &die) {
3388 clang::BlockDecl *decl =
3389 llvm::cast_or_null<clang::BlockDecl>(m_die_to_decl_ctx[die.GetDIE()]);

Completed in 342 milliseconds

1234