Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h251 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
272 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
299 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER_REGEX()
323 auto& Context = Finder->getASTContext(); in AST_POLYMORPHIC_MATCHER_P()
734 InnerMatcher.matches(*Initializer, Finder, Builder)); in AST_MATCHER_P()
757 InnerMatcher.matches(*Decl, Finder, Builder)); in AST_MATCHER_P()
797 return matchesFirstInRange(InnerMatcher, List.begin(), List.end(), Finder, in AST_POLYMORPHIC_MATCHER_P()
896 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder); in AST_MATCHER_P()
926 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
947 return InnerMatcher.matches(*Node.IgnoreParenCasts(), Finder, Builder); in AST_MATCHER_P()
[all …]
H A DASTMatchersInternal.h349 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
372 ASTMatchFinder *Finder,
375 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
377 return matches(DynNode.getUnchecked<T>(), Finder, Builder);
472 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
479 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
610 ASTMatchFinder *Finder,
612 return Implementation.matches(DynTypedNode::create(Node), Finder, Builder);
642 bool matches(const QualType &Node, ASTMatchFinder *Finder,
646 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.h103 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
114 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
143 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
160 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
192 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
212 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
239 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
253 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
281 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
304 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp40 const DebugInfoFinder &Finder) { in printModuleDebugInfo() argument
44 for (DICompileUnit *CU : Finder.compile_units()) { in printModuleDebugInfo()
55 for (DISubprogram *S : Finder.subprograms()) { in printModuleDebugInfo()
63 for (auto *GVU : Finder.global_variables()) { in printModuleDebugInfo()
72 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
105 Finder.processModule(M); in run()
106 printModuleDebugInfo(OS, &M, Finder); in run()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp52 ASTMatchFinder *Finder,
57 ASTMatchFinder *Finder,
62 ASTMatchFinder *Finder,
67 ASTMatchFinder *Finder,
72 ASTMatchFinder *Finder,
78 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) { in matchesAnyBase() argument
86 [Finder, Builder, &BaseSpecMatcher](const CXXBaseSpecifier *BaseSpec, in matchesAnyBase()
89 if (BaseSpecMatcher.matches(*BaseSpec, Finder, &Result)) { in matchesAnyBase()
111 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
120 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument
[all …]
H A DASTMatchFinder.cpp99 MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder, in MatchChildASTVisitor() argument
103 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0), in MatchChildASTVisitor()
157 Finder->isTraversalIgnoringImplicitNodes()) in TraverseDecl()
168 if (LambdaNode && Finder->isTraversalIgnoringImplicitNodes()) in getStmtToTraverse()
172 Finder->getASTContext().getParentMapContext().traverseIgnored( in getStmtToTraverse()
245 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXForRangeStmt()
263 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseCXXRewrittenBinaryOperator()
274 Finder->getASTContext().getParentMapContext().getTraversalKind() == in TraverseAttr()
281 if (!Finder->isTraversalIgnoringImplicitNodes()) in TraverseLambdaExpr()
379 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp88 return InnerMatcher.matches(*Node.getLHS(), Finder, Builder) || in AST_MATCHER_P()
89 InnerMatcher.matches(*Node.getRHS(), Finder, Builder); in AST_MATCHER_P()
91 return InnerMatcher.matches(*Node.getBase(), Finder, Builder); in AST_MATCHER_P()
103 return InnerMatcher.matches(*Range, Finder, Builder); in AST_MATCHER_P()
177 if (InnerMatcher.matches(*Arg, Finder, &Result)) { in AST_MATCHER_P()
210 return InnerMatcher.matches(*Node.getControllingExpr(), Finder, Builder); in AST_MATCHER_P()
248 ExprMutationAnalyzer::Analyzer *Analyzer, F Finder) { in tryEachMatch() argument
251 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID))) in tryEachMatch()
305 for (const auto &Finder : Finders) { in findMutationMemoized() local
306 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp221 const T &Node, ast_matchers::internal::ASTMatchFinder *Finder, in matches() argument
226 if (InnerMatcher.matches(Node, Finder, &Result)) { in matches()
249 const T &Node, ast_matchers::internal::ASTMatchFinder *Finder, in matches() argument
251 return Finder->matchesDescendantOf( in matches()
302 MatchFinder Finder; in rewriteDescendantsImpl() local
303 Callback.registerMatchers<T>(Result.Nodes, &Finder); in rewriteDescendantsImpl()
304 Finder.match(Node, *Result.Context); in rewriteDescendantsImpl()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp212 AdditionalUSRFinder Finder(ND, Context); in getUSRsForDeclaration() local
213 return Finder.Find(); in getUSRsForDeclaration()
276 AdditionalUSRFinder Finder(FoundDecl, Context); in FindSymbol() local
277 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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp182 CastedAllocFinder Finder(&BR.getContext()); in checkASTCodeBody() local
183 Finder.Visit(D->getBody()); in checkASTCodeBody()
184 for (const auto &CallRec : Finder.Calls) { in checkASTCodeBody()
H A DStackAddrEscapeChecker.cpp351 FindStackRegionsSymbolVisitor Finder(C, FoundStackRegions); in FindEscapingStackRegions() local
352 ScanReachableSymbols Scanner(C.getState(), Finder); in FindEscapingStackRegions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DModuleDebugInfoPrinter.h20 DebugInfoFinder Finder; variable
/freebsd/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
H A Dimages47 # skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h357 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineTrunc()
359 Finder.findValueFromDef(DstReg, 0, DstTy.getSizeInBits())) { in tryCombineTrunc()
1080 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineUnmergeValues()
1081 if (Finder.tryCombineUnmergeDefs(MI, Observer, UpdatedDefs)) { in tryCombineUnmergeValues()
1328 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineInstruction()
1370 Changed = Finder.tryCombineMergeLike(cast<GMergeLikeInstr>(MI), DeadInsts, in tryCombineInstruction()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h57 const Stmt *tryEachDeclRef(const Decl *Dec, MutationFinder Finder);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp1876 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl); in EmitCapturedLocals() local
1877 Finder.Visit(OutlinedStmt); in EmitCapturedLocals()
1881 if (!Finder.foundCaptures() && in EmitCapturedLocals()
1956 for (const VarDecl *VD : Finder.Captures) { in EmitCapturedLocals()
2003 if (Finder.SEHCodeSlot.isValid()) { in EmitCapturedLocals()
2005 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP)); in EmitCapturedLocals()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3704 SideEffectFinder Finder(Ctx, IncludePossibleEffects); in HasSideEffects() local
3705 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
3706 return Finder.hasSideEffects(); in HasSideEffects()
3957 NonTrivialCallFinder Finder(Ctx); in hasNonTrivialCall() local
3958 Finder.Visit(this); in hasNonTrivialCall()
3959 return Finder.hasNonTrivialCall(); in hasNonTrivialCall()
/freebsd/contrib/tcsh/
H A DFAQ158 (no X11 or Finder), and I only get console emulation.
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp206 return InnerMatcher.matches(getPublicReceiverType(Node), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp19263 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionType() local
19267 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc())) in checkThisInStaticMemberFunctionType()
19276 if (!Finder.TraverseStmt(const_cast<Expr *>(TRC.ConstraintExpr))) in checkThisInStaticMemberFunctionType()
19293 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionExceptionSpec() local
19309 if (!Finder.TraverseStmt(Proto->getNoexceptExpr())) in checkThisInStaticMemberFunctionExceptionSpec()
19315 if (!Finder.TraverseType(E)) in checkThisInStaticMemberFunctionExceptionSpec()
19325 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionAttributes() local
19354 if (Arg && !Finder.TraverseStmt(Arg)) in checkThisInStaticMemberFunctionAttributes()
19358 if (!Finder.TraverseStmt(Args[I])) in checkThisInStaticMemberFunctionAttributes()
H A DSemaTemplate.cpp6347 UnnamedLocalNoLinkageFinder Finder(*this, SR); in CheckTemplateArgument() local
6348 (void)Finder.Visit(CanonArg); in CheckTemplateArgument()