Home
last modified time | relevance | path

Searched refs:BoundNodes (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
81 const BoundNodes Nodes;
253 SmallVector<BoundNodes, 1>
264 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context);
279 for (const BoundNodes &N : Results) { in selectFirst()
297 SmallVector<BoundNodes, 1> Nodes;
312 SmallVector<BoundNodes, 1>
318 SmallVector<BoundNodes, 1>
327 inline SmallVector<BoundNodes, 1>
338 SmallVector<BoundNodes, 1> matchDynamic(internal::DynTypedMatcher Matcher, in matchDynamic()
[all …]
H A DASTMatchersInternal.h81 class BoundNodes; variable
290 virtual void visitMatch(const BoundNodes& BoundNodesView) = 0;
H A DASTMatchers.h109 class BoundNodes {
134 BoundNodes(internal::BoundNodesMap &MyBoundNodes) in BoundNodes() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h55 const Stmt *findExprMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
56 const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
58 findExprPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
60 findDeclPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp80 static void emitDiagnostics(BoundNodes &Match, in emitDiagnostics()
169 for (BoundNodes Match : Matches) in checkTempObjectsInSamePool()
190 for (BoundNodes Match : Matches) in checkTempObjectsInNoPool()
H A DGCDAntipatternChecker.cpp179 static void emitDiagnostics(const BoundNodes &Nodes, in emitDiagnostics()
213 for (BoundNodes Match : Matches) in checkASTCodeBody()
218 for (BoundNodes Match : Matches) in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp51 static void emitDiagnostics(const BoundNodes &Nodes, in emitDiagnostics()
115 for (BoundNodes Match : Matches) in checkASTCodeBody()
H A DObjCAutoreleaseWriteChecker.cpp111 static void emitDiagnostics(BoundNodes &Match, const Decl *D, BugReporter &BR, in emitDiagnostics()
230 for (BoundNodes Match : Matches) in checkASTCodeBody()
H A DPointerIterationChecker.cpp35 static void emitDiagnostics(const BoundNodes &Match, const Decl *D, in emitDiagnostics()
H A DPointerSortingChecker.cpp35 static void emitDiagnostics(const BoundNodes &Match, const Decl *D, in emitDiagnostics()
H A DMallocChecker.cpp827 for (BoundNodes Match : Matches) { in doesFnIntendToHandleOwnership()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp71 BoundNodesTreeBuilder BoundNodes; member
76 return std::tie(Traversal, Type, MatcherID, Node, BoundNodes) < in operator <()
78 Other.BoundNodes); in operator <()
608 Key.BoundNodes = *Builder; in memoizedMatchesRecursively()
818 void SetBoundNodes(const BoundNodes &BN) { in SetBoundNodes()
828 const BoundNodes *getBoundNodes() const { in getBoundNodes()
854 const BoundNodes *BNodes = nullptr;
938 if (const BoundNodes *Nodes = State.getBoundNodes()) { in print()
941 const BoundNodes::IDToNodeMap &Map = Nodes->getMap(); in print()
1175 Keys.back().BoundNodes = *Builder; in matchesAnyAncestorOf()
[all …]
H A DASTMatchersInternal.cpp105 ResultVisitor->visitMatch(BoundNodes(Binding)); in visitMatches()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp213 ast_matchers::BoundNodes Nodes;
217 explicit BindingsMatcher(ast_matchers::BoundNodes Nodes, in BindingsMatcher()
260 forEachDescendantDynamically(ast_matchers::BoundNodes Nodes, in forEachDescendantDynamically()
273 void registerMatchers(const ast_matchers::BoundNodes &Nodes, in registerMatchers()
349 const ast_matchers::BoundNodes::IDToNodeMap &NodesMap = in rewriteDescendants()
H A DStencil.cpp29 using ast_matchers::BoundNodes;
36 static llvm::Expected<DynTypedNode> getNode(const BoundNodes &Nodes, in getNode()
335 const BoundNodes::IDToNodeMap &NodeMap = match.Nodes.getMap(); in eval()
H A DRangeSelector.cpp54 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp190 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch()
301 ExprMutationAnalyzer::findExprMutation(ArrayRef<BoundNodes> Matches) { in findExprMutation()
306 ExprMutationAnalyzer::findDeclMutation(ArrayRef<BoundNodes> Matches) { in findDeclMutation()
311 ArrayRef<ast_matchers::BoundNodes> Matches) { in findExprPointeeMutation()
317 ArrayRef<ast_matchers::BoundNodes> Matches) { in findDeclPointeeMutation()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp75 for (BoundNodes Match : Matches) { in getWidenedLoopState()
H A DRegionStore.cpp1079 for (BoundNodes &Match : Matches) { in VisitCluster()
H A DBugReporterVisitors.cpp624 for (BoundNodes &Match : Matches) { in potentiallyWritesIntoIvar()