Home
last modified time | relevance | path

Searched refs:blockExpr (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DNoEscapeCheck.cpp22 hasArgument(1, blockExpr().bind("arg-block"))), in registerMatchers()
26 hasArgument(2, blockExpr().bind("arg-block"))), in registerMatchers()
/external/clang/lib/CodeGen/
DCGBlocks.cpp674 llvm::Value *CodeGenFunction::EmitBlockLiteral(const BlockExpr *blockExpr) { in EmitBlockLiteral() argument
677 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
678 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
680 blockInfo.BlockExpression = blockExpr; in EmitBlockLiteral()
687 blockExpr->getBlockDecl())); in EmitBlockLiteral()
689 blockInfo->BlockExpression = blockExpr; in EmitBlockLiteral()
1036 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *blockExpr, in GetAddrOfGlobalBlock() argument
1038 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1039 blockInfo.BlockExpression = blockExpr; in GetAddrOfGlobalBlock()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp778 llvm::Value *CodeGenFunction::EmitBlockLiteral(const BlockExpr *blockExpr) { in EmitBlockLiteral() argument
781 if (!blockExpr->getBlockDecl()->hasCaptures()) in EmitBlockLiteral()
784 if (llvm::Constant *Block = CGM.getAddrOfGlobalBlockIfEmitted(blockExpr)) in EmitBlockLiteral()
787 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
789 blockInfo.BlockExpression = blockExpr; in EmitBlockLiteral()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp149 REGISTER_MATCHER(blockExpr); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp867 const internal::VariadicDynCastAllOfMatcher<Stmt, BlockExpr> blockExpr; variable
/external/clang/include/clang/AST/
DASTContext.h1584 std::string getObjCEncodingForBlock(const BlockExpr *blockExpr) const;
/external/llvm-project/clang/include/clang/AST/
DASTContext.h1841 std::string getObjCEncodingForBlock(const BlockExpr *blockExpr) const;
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2009 extern const internal::VariadicDynCastAllOfMatcher<Stmt, BlockExpr> blockExpr;
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp2150 EXPECT_TRUE(matchesObjC("void f() { ^{}(); }", blockExpr())); in TEST_P()