Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h321 auto& Context = Finder->getASTContext(); in AST_POLYMORPHIC_MATCHER_P()
1005 return InnerMatcher.matches(*E, Finder, Builder);
3964 .matches(Node, Finder, Builder);
4124 .matches(Node, Finder, Builder);
4185 .matches(Node, Finder, Builder);
4232 .matches(Node, Finder, Builder);
4240 .matches(Node, Finder, Builder);
4508 if (!Finder->isTraversalIgnoringImplicitNodes()) in AST_POLYMORPHIC_MATCHER_P()
4535 if (!Finder->isTraversalIgnoringImplicitNodes()) in AST_POLYMORPHIC_MATCHER_P()
5985 .matches(Node, Finder, Builder); in AST_POLYMORPHIC_MATCHER_P()
[all …]
H A DASTMatchersInternal.h373 ASTMatchFinder *Finder,
611 ASTMatchFinder *Finder,
851 if (Matcher.matches(*I, Finder, &Result)) {
867 if (Matcher.matches(**I, Finder, &Result)) {
999 bool matches(const T &Node, ASTMatchFinder *Finder,
1109 ASTMatchFinder *Finder,
1115 ASTMatchFinder *Finder,
1123 ASTMatchFinder *Finder,
1131 ASTMatchFinder *Finder,
1139 ASTMatchFinder *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 …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp53 ASTMatchFinder *Finder,
287 ASTMatchFinder *Finder, in matches() argument
289 TraversalKindScope RAII(Finder->getASTContext(), in matches()
292 if (Finder->isTraversalIgnoringImplicitNodes() && in matches()
296 if (!Finder->isTraversalIgnoringImplicitNodes() && in matches()
297 Finder->IsMatchingInASTNodeNotAsIs()) in matches()
317 TraversalKindScope raii(Finder->getASTContext(), in matchesNoKindCheck()
320 if (Finder->isTraversalIgnoringImplicitNodes() && in matchesNoKindCheck()
324 if (!Finder->isTraversalIgnoringImplicitNodes() && in matchesNoKindCheck()
325 Finder->IsMatchingInASTNodeNotAsIs()) in matchesNoKindCheck()
[all …]
H A DASTMatchFinder.cpp103 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0), in MatchChildASTVisitor()
157 Finder->isTraversalIgnoringImplicitNodes()) in TraverseDecl()
245 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXForRangeStmt()
263 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXRewrittenBinaryOperator()
281 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseLambdaExpr()
378 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
408 ASTMatchFinder *const Finder; member in clang::ast_matchers::internal::__anon995a12ab0111::MatchChildASTVisitor
1553 MatchASTConsumer(MatchFinder *Finder, in MatchASTConsumer() argument
1555 : Finder(Finder), ParsingDone(ParsingDone) {} in MatchASTConsumer()
1562 Finder->matchAST(Context); in HandleTranslationUnit()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp42 const DebugInfoFinder &Finder) { in printModuleDebugInfo() argument
46 for (DICompileUnit *CU : Finder.compile_units()) { in printModuleDebugInfo()
57 for (DISubprogram *S : Finder.subprograms()) { in printModuleDebugInfo()
65 for (auto *GVU : Finder.global_variables()) { in printModuleDebugInfo()
74 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
107 Finder.processModule(M); in run()
108 printModuleDebugInfo(OS, &M, Finder); in run()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp102 return InnerMatcher.matches(*Range, Finder, Builder); in AST_MATCHER_P()
121 if (InnerMatcher.matches(*Arg, Finder, &Result)) { in AST_MATCHER_P()
154 return InnerMatcher.matches(*Node.getControllingExpr(), Finder, Builder); in AST_MATCHER_P()
191 ExprMutationAnalyzer *Analyzer, F Finder) { in tryEachMatch() argument
194 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID))) in tryEachMatch()
236 for (const auto &Finder : Finders) { in findMutationMemoized() local
237 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
245 MutationFinder Finder) { in tryEachDeclRef() argument
258 if ((this->*Finder)(E)) in tryEachDeclRef()
H A DUnsafeBufferUsage.cpp85 internal::ASTMatchFinder *Finder, in MatchDescendantVisitor() argument
89 : Matcher(Matcher), Finder(Finder), Builder(Builder), Bind(Bind), in MatchDescendantVisitor()
187 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
198 internal::ASTMatchFinder *const Finder; member in clang::ast_matchers::MatchDescendantVisitor
218 MatchDescendantVisitor Visitor(&DTM, Finder, Builder, ASTMatchFinder::BK_All, true); in AST_MATCHER_P()
225 MatchDescendantVisitor Visitor(&DTM, Finder, Builder, ASTMatchFinder::BK_All, false); in AST_MATCHER_P()
236 return innerMatcher.matches(*Node.getSubExpr(), Finder, Builder); in AST_MATCHER_P()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp219 AdditionalUSRFinder Finder(ND, Context); in getUSRsForDeclaration() local
220 return Finder.Find(); in getUSRsForDeclaration()
283 AdditionalUSRFinder Finder(FoundDecl, Context); in FindSymbol() local
284 USRList.push_back(Finder.Find()); in FindSymbol()
H A DUSRLocFinder.cpp531 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges() local
532 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges()
551 for (const auto &RenameInfo : Finder.getRenameInfos()) { in createRenameAtomicChanges()
595 for (const auto *Using : Finder.getUsingDecls()) in createRenameAtomicChanges()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp184 CastedAllocFinder Finder(&BR.getContext()); in checkASTCodeBody() local
185 Finder.Visit(D->getBody()); in checkASTCodeBody()
186 for (const auto &CallRec : Finder.Calls) { in checkASTCodeBody()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DModuleDebugInfoPrinter.h20 DebugInfoFinder Finder; variable
/freebsd-14.2/contrib/llvm-project/lld/
H A D.gitignore17 # Mac OS X Finder layout info
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dmacintosh70 #0 string FNDR Macintosh Finder (data)
148 # Finder flags if not 0
152 # # original Finder flags (Bits 8-15)
177 # still more Finder flags
227 # Thereby the Finder attach documents types to applications.
244 >0 string FNDR Macintosh Finder
317 >0 string ERIK Macintosh Finder
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h51 const Stmt *tryEachDeclRef(const Decl *Dec, MutationFinder Finder);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h343 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineTrunc()
345 Finder.findValueFromDef(DstReg, 0, DstTy.getSizeInBits())) { in tryCombineTrunc()
1053 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineUnmergeValues()
1054 if (Finder.tryCombineUnmergeDefs(MI, Observer, UpdatedDefs)) { in tryCombineUnmergeValues()
1290 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineInstruction()
1332 Changed = Finder.tryCombineMergeLike(cast<GMergeLikeInstr>(MI), DeadInsts, in tryCombineInstruction()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp1874 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl); in EmitCapturedLocals() local
1875 Finder.Visit(OutlinedStmt); in EmitCapturedLocals()
1879 if (!Finder.foundCaptures() && in EmitCapturedLocals()
1953 for (const VarDecl *VD : Finder.Captures) { in EmitCapturedLocals()
2000 if (Finder.SEHCodeSlot.isValid()) { in EmitCapturedLocals()
2002 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP)); in EmitCapturedLocals()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3617 SideEffectFinder Finder(Ctx, IncludePossibleEffects); in HasSideEffects() local
3618 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
3619 return Finder.hasSideEffects(); in HasSideEffects()
3855 NonTrivialCallFinder Finder(Ctx); in hasNonTrivialCall() local
3856 Finder.Visit(this); in hasNonTrivialCall()
3857 return Finder.hasNonTrivialCall(); in hasNonTrivialCall()
/freebsd-14.2/contrib/tcsh/
H A DFAQ158 (no X11 or Finder), and I only get console emulation.
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp18987 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionType() local
18991 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc())) in checkThisInStaticMemberFunctionType()
19000 if (!Finder.TraverseStmt(E)) in checkThisInStaticMemberFunctionType()
19017 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionExceptionSpec() local
19033 if (!Finder.TraverseStmt(Proto->getNoexceptExpr())) in checkThisInStaticMemberFunctionExceptionSpec()
19039 if (!Finder.TraverseType(E)) in checkThisInStaticMemberFunctionExceptionSpec()
19049 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionAttributes() local
19083 if (Arg && !Finder.TraverseStmt(Arg)) in checkThisInStaticMemberFunctionAttributes()
19087 if (!Finder.TraverseStmt(Args[I])) in checkThisInStaticMemberFunctionAttributes()
H A DSemaTemplate.cpp6634 UnnamedLocalNoLinkageFinder Finder(*this, SR); in CheckTemplateArgument() local
6635 (void)Finder.Visit(CanonArg); in CheckTemplateArgument()

12