Searched refs:Finder (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp28 DebugInfoFinder Finder; member in class:__anon3383::ModuleDebugInfoPrinter
53 Finder.processModule(M);
74 for (DICompileUnit *CU : Finder.compile_units()) {
85 for (DISubprogram *S : Finder.subprograms()) {
93 for (auto GVU : Finder.global_variables()) {
102 for (const DIType *T : Finder.types()) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h242 auto &SourceManager = Finder->getASTContext().getSourceManager();
263 auto &SourceManager = Finder->getASTContext().getSourceManager();
290 auto &SourceManager = Finder->getASTContext().getSourceManager();
315 auto& Context = Finder->getASTContext();
650 Node.getBitWidthValue(Finder->getASTContext()) == Width;
671 InnerMatcher.matches(*Initializer, Finder, Builder));
694 InnerMatcher.matches(*Decl, Finder, Builder));
732 return matchesFirstInRange(InnerMatcher, List.begin(), List.end(), Finder,
835 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder);
865 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builde
[all...]
H A DASTMatchFinder.h287 MatchFinder Finder; local
288 Finder.addMatcher(Matcher, &Callback);
289 Finder.match(Node, Context);
303 MatchFinder Finder; local
304 Finder.addMatcher(Matcher, &Callback);
305 Finder.matchAST(Context);
313 MatchFinder Finder; local
314 Finder.addDynamicMatcher(Matcher, &Callback);
315 Finder.match(Node, Context);
329 MatchFinder Finder; local
[all...]
H A DASTMatchersInternal.h294 /// the AST via \p Finder.
295 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
316 /// the AST via 'Finder'.
318 ASTMatchFinder *Finder,
321 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
323 return matches(DynNode.getUnchecked<T>(), Finder, Builder);
340 ASTMatchFinder * /* Finder */,
418 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
425 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
552 ASTMatchFinder *Finder,
551 matches(const T &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
635 matchesFirstInRange(const MatcherT &Matcher, IteratorT Start, IteratorT End, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) argument
651 matchesFirstInPointerRange(const MatcherT &Matcher, IteratorT Start, IteratorT End, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) argument
786 matchesSpecialized(const QualType &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
796 matchesSpecialized(const Type &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
870 matchesSpecialized(const DeclRefExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
877 matchesSpecialized(const CallExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
884 matchesSpecialized(const CXXConstructExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
890 matchesSpecialized(const ObjCIvarRefExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
898 matchesSpecialized(const CXXNewExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
906 matchesSpecialized(const MemberExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
914 matchesSpecialized(const AddrLabelExpr &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
922 matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
929 matchesDecl(const Decl *Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
[all...]
H A DASTMatchersMacros.h30 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder);
41 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder);
90 /// Finder: an ASTMatchFinder*.
101 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
112 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
124 /// Finder: an ASTMatchFinder*.
140 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
158 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
171 /// Finder: an ASTMatchFinder*.
190 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp52 bool NotUnaryOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
56 bool AllOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
60 bool EachOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
64 bool AnyOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
69 ASTMatchFinder *Finder,
75 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) {
83 [Finder, Builder, &BaseSpecMatcher](const CXXBaseSpecifier *BaseSpec,
86 if (BaseSpecMatcher.matches(*BaseSpec, Finder, Builder)) {
108 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
117 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
73 matchesAnyBase(const CXXRecordDecl &Node, const Matcher<CXXBaseSpecifier> &BaseSpecMatcher, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) argument
281 matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
301 matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const argument
344 NotUnaryOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers) argument
364 AllOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers) argument
375 EachOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers) argument
391 AnyOfVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers) argument
404 OptionallyVariadicOperator(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers) argument
[all...]
H A DASTMatchFinder.cpp96 MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder, argument
99 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0),
154 Finder->getASTContext().getParentMapContext().getTraversalKind() ==
159 Finder->getASTContext().getParentMapContext().traverseIgnored(
228 if (Finder->getASTContext().getParentMapContext().getTraversalKind() !=
320 if (Matcher->matches(DynTypedNode::create(Node), Finder,
328 if (Matcher->matches(DynTypedNode::create(Node), Finder,
350 ASTMatchFinder *const Finder; member in class:clang::ast_matchers::internal::__anon1620::MatchChildASTVisitor
1040 MatchASTConsumer(MatchFinder *Finder, argument
1052 MatchFinder *Finder; member in class:clang::ast_matchers::internal::__anon1620::MatchASTConsumer
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp179 CastedAllocFinder Finder(&BR.getContext());
180 Finder.Visit(D->getBody());
181 for (CastedAllocFinder::CallVec::iterator i = Finder.Calls.begin(),
182 e = Finder.Calls.end(); i != e; ++i) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp193 AdditionalUSRFinder Finder(ND, Context);
194 return Finder.Find();
256 AdditionalUSRFinder Finder(FoundDecl, Context);
257 USRList.push_back(Finder.Find());
H A DUSRLocFinder.cpp512 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext());
513 Finder.TraverseDecl(TranslationUnitDecl);
532 for (const auto &RenameInfo : Finder.getRenameInfos()) {
576 for (const auto *Using : Finder.getUsingDecls())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp24 return InnerMatcher.matches(*Range, Finder, Builder);
36 return InnerMatcher.matches(*Result, Finder, Builder);
52 return InnerMatcher.matches(*Node.getControllingExpr(), Finder, Builder);
83 ExprMutationAnalyzer *Analyzer, F Finder) {
86 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID)))
128 for (const auto &Finder : Finders) {
129 if (const Stmt *S = (this->*Finder)(Exp))
137 MutationFinder Finder) {
143 if ((this->*Finder)(E))
82 tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, ExprMutationAnalyzer *Analyzer, F Finder) argument
136 tryEachDeclRef(const Decl *Dec, MutationFinder Finder) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h49 const Stmt *tryEachDeclRef(const Decl *Dec, MutationFinder Finder);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp1779 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl);
1780 Finder.Visit(OutlinedStmt);
1784 if (!Finder.foundCaptures() &&
1863 for (const VarDecl *VD : Finder.Captures) {
1887 if (Finder.SEHCodeSlot.isValid()) {
1889 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP));
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3503 SideEffectFinder Finder(Ctx, IncludePossibleEffects);
3504 Finder.Visit(cast<StmtExpr>(this)->getSubStmt());
3505 return Finder.hasSideEffects();
3728 NonTrivialCallFinder Finder(Ctx);
3729 Finder.Visit(this);
3730 return Finder.hasNonTrivialCall();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp17464 FindCXXThisExpr Finder(*this);
17468 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc()))
17477 if (!Finder.TraverseStmt(E))
17494 FindCXXThisExpr Finder(*this);
17510 if (!Finder.TraverseStmt(Proto->getNoexceptExpr()))
17516 if (!Finder.TraverseType(E))
17526 FindCXXThisExpr Finder(*this);
17560 if (Arg && !Finder.TraverseStmt(Arg))
17564 if (!Finder.TraverseStmt(Args[I]))
H A DSemaTemplate.cpp6123 UnnamedLocalNoLinkageFinder Finder(*this, SR);
6124 (void)Finder.Visit(Context.getCanonicalType(Arg));

Completed in 376 milliseconds