Home
last modified time | relevance | path

Searched refs:Finder (Results 1 – 25 of 28) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h248 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
269 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
296 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER_REGEX()
320 auto& Context = Finder->getASTContext(); in AST_POLYMORPHIC_MATCHER_P()
711 Node.getBitWidthValue(Finder->getASTContext()) == Width; in AST_MATCHER_P()
732 InnerMatcher.matches(*Initializer, Finder, Builder)); in AST_MATCHER_P()
755 InnerMatcher.matches(*Decl, Finder, Builder)); in AST_MATCHER_P()
795 return matchesFirstInRange(InnerMatcher, List.begin(), List.end(), Finder, in AST_POLYMORPHIC_MATCHER_P()
894 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder); in AST_MATCHER_P()
924 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
[all …]
H A DASTMatchersInternal.h350 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
373 ASTMatchFinder *Finder,
376 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
378 return matches(DynNode.getUnchecked<T>(), Finder, Builder);
473 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
480 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
611 ASTMatchFinder *Finder,
613 return Implementation.matches(DynTypedNode::create(Node), Finder, Builder);
643 bool matches(const QualType &Node, ASTMatchFinder *Finder,
647 return this->InnerMatcher.matches(DynTypedNode::create(*Node), Finder,
[all …]
H A DASTMatchFinder.h305 MatchFinder Finder; in match() local
306 Finder.addMatcher(Matcher, &Callback); in match()
307 Finder.match(Node, Context); in match()
321 MatchFinder Finder; in match() local
322 Finder.addMatcher(Matcher, &Callback); in match()
323 Finder.matchAST(Context); in match()
331 MatchFinder Finder; in matchDynamic() local
332 Finder.addDynamicMatcher(Matcher, &Callback); in matchDynamic()
333 Finder.match(Node, Context); in matchDynamic()
347 MatchFinder Finder; in matchDynamic() local
[all …]
H A DASTMatchersMacros.h101 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
112 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
141 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
158 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
190 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
210 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
237 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
251 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
279 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
302 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp30 DebugInfoFinder Finder; member in __anon5ecfa5b70111::ModuleDebugInfoLegacyPrinter
57 Finder.processModule(M); in runOnModule()
75 const DebugInfoFinder &Finder) { in printModuleDebugInfo() argument
79 for (DICompileUnit *CU : Finder.compile_units()) { in printModuleDebugInfo()
90 for (DISubprogram *S : Finder.subprograms()) { in printModuleDebugInfo()
98 for (auto *GVU : Finder.global_variables()) { in printModuleDebugInfo()
107 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
137 printModuleDebugInfo(O, M, Finder); in print()
145 Finder.processModule(M); in run()
146 printModuleDebugInfo(OS, &M, Finder); in run()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp53 ASTMatchFinder *Finder,
58 ASTMatchFinder *Finder,
63 ASTMatchFinder *Finder,
68 ASTMatchFinder *Finder,
73 ASTMatchFinder *Finder,
79 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) { in matchesAnyBase() argument
87 [Finder, Builder, &BaseSpecMatcher](const CXXBaseSpecifier *BaseSpec, in matchesAnyBase()
90 if (BaseSpecMatcher.matches(*BaseSpec, Finder, Builder)) { in matchesAnyBase()
112 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
121 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument
[all …]
H A DASTMatchFinder.cpp97 MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder, in MatchChildASTVisitor() argument
101 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0), in MatchChildASTVisitor()
155 Finder->isTraversalIgnoringImplicitNodes()) in TraverseDecl()
166 if (LambdaNode && Finder->isTraversalIgnoringImplicitNodes()) in getStmtToTraverse()
170 Finder->getASTContext().getParentMapContext().traverseIgnored( in getStmtToTraverse()
243 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXForRangeStmt()
261 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXRewrittenBinaryOperator()
272 Finder->getASTContext().getParentMapContext().getTraversalKind() == in TraverseAttr()
279 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseLambdaExpr()
376 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp27 return InnerMatcher.matches(*Range, Finder, Builder); in AST_MATCHER_P()
39 return InnerMatcher.matches(*Result, Finder, Builder); in AST_MATCHER_P()
46 return stmt().matches(Node, Finder, Builder); in AST_MATCHER_P()
79 return ComplexMatcher.matches(*Exp, Finder, Builder); in AST_MATCHER_P()
88 if (InnerMatcher.matches(*Arg, Finder, &Result)) { in AST_MATCHER_P()
105 return InnerMatcher.matches(*Node.getControllingExpr(), Finder, Builder); in AST_MATCHER_P()
136 ExprMutationAnalyzer *Analyzer, F Finder) { in tryEachMatch() argument
139 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID))) in tryEachMatch()
181 for (const auto &Finder : Finders) { in findMutationMemoized() local
182 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
[all …]
H A DUnsafeBufferUsage.cpp32 internal::ASTMatchFinder *Finder, in MatchDescendantVisitor() argument
35 : Matcher(Matcher), Finder(Finder), Builder(Builder), Bind(Bind), in MatchDescendantVisitor()
94 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
105 internal::ASTMatchFinder *const Finder; member in clang::ast_matchers::MatchDescendantVisitor
115 MatchDescendantVisitor Visitor(&DTM, Finder, Builder, ASTMatchFinder::BK_All); in AST_MATCHER_P()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp183 CastedAllocFinder Finder(&BR.getContext()); in checkASTCodeBody() local
184 Finder.Visit(D->getBody()); in checkASTCodeBody()
185 for (CastedAllocFinder::CallVec::iterator i = Finder.Calls.begin(), in checkASTCodeBody()
186 e = Finder.Calls.end(); i != e; ++i) { in checkASTCodeBody()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp222 const T &Node, ast_matchers::internal::ASTMatchFinder *Finder, in matches() argument
227 if (InnerMatcher.matches(Node, Finder, &Result)) { in matches()
250 const T &Node, ast_matchers::internal::ASTMatchFinder *Finder, in matches() argument
252 return Finder->matchesDescendantOf( in matches()
303 MatchFinder Finder; in rewriteDescendantsImpl() local
304 Callback.registerMatchers<T>(Result.Nodes, &Finder); in rewriteDescendantsImpl()
305 Finder.match(Node, *Result.Context); in rewriteDescendantsImpl()
/openbsd-src/gnu/llvm/clang/lib/Tooling/DumpTool/
H A DASTSrcLocProcessor.cpp24 Finder = std::make_unique<MatchFinder>(std::move(FinderOptions)); in ASTSrcLocProcessor()
25 Finder->addMatcher( in ASTSrcLocProcessor()
39 Finder->addMatcher( in ASTSrcLocProcessor()
49 return Finder->newASTConsumer(); in createASTConsumer()
H A DASTSrcLocProcessor.h47 std::unique_ptr<clang::ast_matchers::MatchFinder> Finder; variable
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp219 AdditionalUSRFinder Finder(ND, Context); in getUSRsForDeclaration() local
220 return Finder.Find(); in getUSRsForDeclaration()
282 AdditionalUSRFinder Finder(FoundDecl, Context); in FindSymbol() local
283 USRList.push_back(Finder.Find()); in FindSymbol()
H A DUSRLocFinder.cpp530 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges() local
531 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges()
550 for (const auto &RenameInfo : Finder.getRenameInfos()) { in createRenameAtomicChanges()
594 for (const auto *Using : Finder.getUsingDecls()) in createRenameAtomicChanges()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DModuleDebugInfoPrinter.h20 DebugInfoFinder Finder; variable
/openbsd-src/gnu/llvm/lld/
H A D.gitignore17 # Mac OS X Finder layout info
/openbsd-src/usr.bin/file/magdir/
H A Dmacintosh34 #0 string FNDR Macintosh Finder (data)
70 # 73 byte # Finder flags
82 # 101 byte # new Finder flags
85 # 107 byte # still more Finder flags
134 #>65 string FNDR (Macintosh Finder)
196 #>69 string ERIK (Macintosh Finder)
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h51 const Stmt *tryEachDeclRef(const Decl *Dec, MutationFinder Finder);
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h960 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineUnmergeValues()
961 if (Finder.tryCombineUnmergeDefs(MI, Observer, UpdatedDefs)) { in tryCombineUnmergeValues()
1202 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineInstruction()
1244 Changed = Finder.tryCombineMergeLike(cast<GMergeLikeInstr>(MI), DeadInsts, in tryCombineInstruction()
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A DREADME.hfs_boot8 HFS partition and the necessary System, Finder, etc. files.
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGException.cpp1852 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl); in EmitCapturedLocals() local
1853 Finder.Visit(OutlinedStmt); in EmitCapturedLocals()
1857 if (!Finder.foundCaptures() && in EmitCapturedLocals()
1937 for (const VarDecl *VD : Finder.Captures) { in EmitCapturedLocals()
1984 if (Finder.SEHCodeSlot.isValid()) { in EmitCapturedLocals()
1986 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP)); in EmitCapturedLocals()
/openbsd-src/gnu/llvm/clang/docs/
H A DLibASTMatchersTutorial.rst305 MatchFinder Finder;
306 Finder.addMatcher(LoopMatcher, &Printer);
308 return Tool.run(newFrontendActionFactory(&Finder).get());
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExpr.cpp3618 SideEffectFinder Finder(Ctx, IncludePossibleEffects); in HasSideEffects() local
3619 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
3620 return Finder.hasSideEffects(); in HasSideEffects()
3856 NonTrivialCallFinder Finder(Ctx); in hasNonTrivialCall() local
3857 Finder.Visit(this); in hasNonTrivialCall()
3858 return Finder.hasNonTrivialCall(); in hasNonTrivialCall()
/openbsd-src/gnu/usr.bin/perl/cpan/perlfaq/lib/
H A Dperlfaq5.pod1540 The L<File::Finder>, which you can download from CPAN, can help you
1545 use File::Finder;
1547 my $deep_dirs = File::Finder->depth->type('d')->ls->exec('rmdir','{}');

12