Home
last modified time | relevance | path

Searched refs:blockDecl (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.cpp910 if (blockDecl->capturesCXXThis()) { in EmitBlockLiteral()
917 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()
934 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
978 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
1090 if (BD == blockDecl) in EmitBlockLiteral()
1492 args.append(blockDecl->param_begin(), blockDecl->param_end()); in GenerateBlockFunction()
1518 blockDecl->getLocation(), in GenerateBlockFunction()
1540 if (blockDecl->capturesCXXThis()) { in GenerateBlockFunction()
1547 for (const auto &CI : blockDecl->captures()) { in GenerateBlockFunction()
1570 incrementProfileCounter(blockDecl->getBody()); in GenerateBlockFunction()
[all …]
H A DCGBlocks.h317 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
H A DCGDebugInfo.cpp4863 const BlockDecl *blockDecl = block.getBlockDecl(); in EmitDeclareOfBlockLiteralArgVariable() local
4866 SourceLocation loc = blockDecl->getCaretLocation(); in EmitDeclareOfBlockLiteralArgVariable()
4872 getDeclContextDescriptor(blockDecl); in EmitDeclareOfBlockLiteralArgVariable()
4886 if (blockDecl->capturesCXXThis()) { in EmitDeclareOfBlockLiteralArgVariable()
4895 for (const auto &capture : blockDecl->captures()) { in EmitDeclareOfBlockLiteralArgVariable()
4921 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()
4923 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable()
H A DCGObjCMac.cpp2365 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() local
2373 for (const auto &CI : blockDecl->captures()) { in visitBlock()
2889 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars() local
2902 for (const auto &CI : blockDecl->captures()) { in fillRunSkipBlockVars()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCAutoreleaseWriteChecker.cpp227 blockDecl(HasParamAndWritesInMarkedFuncM))); in checkASTCodeBody()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp151 REGISTER_MATCHER(blockDecl); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp383 blockDecl(hasTypeLoc(loc(asString("int (int, int)")))), true, in TEST()
1142 blockDecl(hasParameter(0, hasName("p"))))); in TEST()
1175 blockDecl(hasAnyParameter(hasName("p"))))); in TEST()
5731 binaryOperator(forCallable(blockDecl())))); in TEST()
5756 binaryOperator(forCallable(blockDecl())))); in TEST()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp836 blockDecl; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1603 blockDecl;
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp3206 auto *FromBlock = FirstDeclMatcher<BlockDecl>().match(FromTU, blockDecl()); in TEST_P()