Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h249 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
270 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER()
297 auto &SourceManager = Finder->getASTContext().getSourceManager(); in AST_POLYMORPHIC_MATCHER_REGEX()
321 auto& Context = Finder->getASTContext(); in AST_POLYMORPHIC_MATCHER_P()
712 Node.getBitWidthValue(Finder->getASTContext()) == Width; in AST_MATCHER_P()
733 InnerMatcher.matches(*Initializer, Finder, Builder)); in AST_MATCHER_P()
756 InnerMatcher.matches(*Decl, Finder, Builder)); in AST_MATCHER_P()
796 return matchesFirstInRange(InnerMatcher, List.begin(), List.end(), Finder, in AST_POLYMORPHIC_MATCHER_P()
895 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder); in AST_MATCHER_P()
925 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
[all …]
H A DASTMatchersInternal.h346 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
369 ASTMatchFinder *Finder,
372 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
374 return matches(DynNode.getUnchecked<T>(), Finder, Builder);
469 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
476 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
607 ASTMatchFinder *Finder,
609 return Implementation.matches(DynTypedNode::create(Node), Finder, Builder);
639 bool matches(const QualType &Node, ASTMatchFinder *Finder,
643 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 …]
/src/contrib/llvm-project/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, &Result)) { in matchesAnyBase()
112 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
121 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()
378 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
[all …]
/src/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()
/src/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()
192 ExprMutationAnalyzer::Analyzer *Analyzer, F Finder) { in tryEachMatch() argument
195 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID))) in tryEachMatch()
243 for (const auto &Finder : Finders) { in findMutationMemoized() local
244 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
253 MutationFinder Finder) { in tryEachDeclRef() argument
266 if ((this->*Finder)(E)) in tryEachDeclRef()
H A DUnsafeBufferUsage.cpp93 internal::ASTMatchFinder *Finder, in MatchDescendantVisitor() argument
97 : Matcher(Matcher), Finder(Finder), Builder(Builder), Bind(Bind), in MatchDescendantVisitor()
195 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
206 internal::ASTMatchFinder *const Finder; member in clang::ast_matchers::MatchDescendantVisitor
225 MatchDescendantVisitor Visitor(&DTM, Finder, Builder, ASTMatchFinder::BK_All, in AST_MATCHER_P()
234 MatchDescendantVisitor Visitor(&DTM, Finder, Builder, ASTMatchFinder::BK_All, in AST_MATCHER_P()
251 return innerMatcher.matches(*Node.getSubExpr(), Finder, Builder); in AST_MATCHER_P()
360 auto HaveEqualConstantValues = [&Finder](const Expr *E0, const Expr *E1) { in AST_MATCHER()
361 if (auto E0CV = E0->getIntegerConstantExpr(Finder->getASTContext())) in AST_MATCHER()
362 if (auto E1CV = E1->getIntegerConstantExpr(Finder->getASTContext())) { in AST_MATCHER()
[all …]
/src/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()
/src/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()
/src/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()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DModuleDebugInfoPrinter.h20 DebugInfoFinder Finder; variable
/src/contrib/llvm-project/lld/
H A D.gitignore17 # Mac OS X Finder layout info
/src/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
/src/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()
1072 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineUnmergeValues()
1073 if (Finder.tryCombineUnmergeDefs(MI, Observer, UpdatedDefs)) { in tryCombineUnmergeValues()
1309 ArtifactValueFinder Finder(MRI, Builder, LI); in tryCombineInstruction()
1351 Changed = Finder.tryCombineMergeLike(cast<GMergeLikeInstr>(MI), DeadInsts, in tryCombineInstruction()
/src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h59 const Stmt *tryEachDeclRef(const Decl *Dec, MutationFinder Finder);
/src/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()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp701 TemplateParamsReferencedFinder Finder(TemplateParamsList); in TemplateParamsReferencedInTemplateArgumentList() local
702 Finder.TraverseTemplateArguments(DeducedArgs); in TemplateParamsReferencedInTemplateArgumentList()
706 if (Finder.ReferencedTemplateParams[Index]) in TemplateParamsReferencedInTemplateArgumentList()
H A DSemaDeclCXX.cpp18748 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionType() local
18752 !Finder.TraverseTypeLoc(ProtoTL.getReturnLoc())) in checkThisInStaticMemberFunctionType()
18761 if (!Finder.TraverseStmt(E)) in checkThisInStaticMemberFunctionType()
18778 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionExceptionSpec() local
18794 if (!Finder.TraverseStmt(Proto->getNoexceptExpr())) in checkThisInStaticMemberFunctionExceptionSpec()
18800 if (!Finder.TraverseType(E)) in checkThisInStaticMemberFunctionExceptionSpec()
18810 FindCXXThisExpr Finder(*this); in checkThisInStaticMemberFunctionAttributes() local
18844 if (Arg && !Finder.TraverseStmt(Arg)) in checkThisInStaticMemberFunctionAttributes()
18848 if (!Finder.TraverseStmt(Args[I])) in checkThisInStaticMemberFunctionAttributes()
H A DSemaTemplate.cpp5911 UnnamedLocalNoLinkageFinder Finder(*this, SR); in CheckTemplateArgument() local
5912 (void)Finder.Visit(CanonArg); in CheckTemplateArgument()
/src/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3679 SideEffectFinder Finder(Ctx, IncludePossibleEffects); in HasSideEffects() local
3680 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
3681 return Finder.hasSideEffects(); in HasSideEffects()
3930 NonTrivialCallFinder Finder(Ctx); in hasNonTrivialCall() local
3931 Finder.Visit(this); in hasNonTrivialCall()
3932 return Finder.hasNonTrivialCall(); in hasNonTrivialCall()
/src/contrib/tcsh/
H A DFAQ158 (no X11 or Finder), and I only get console emulation.
/src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp176 return InnerMatcher.matches(getPublicReceiverType(Node), Finder, Builder); in AST_MATCHER_P()

12