Home
last modified time | relevance | path

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

/freebsd/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>
257 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node,
264 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context);
278 selectFirst(StringRef BoundTo, const SmallVectorImpl<BoundNodes> &Results) { in selectFirst()
279 for (const BoundNodes &N : Results) { in selectFirst()
297 SmallVector<BoundNodes, 1> Nodes;
302 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node, in match()
312 SmallVector<BoundNodes, 1>
[all …]
H A DASTMatchersInternal.h81 class BoundNodes; variable
289 virtual void visitMatch(const BoundNodes& BoundNodesView) = 0;
H A DASTMatchers.h111 class BoundNodes {
136 BoundNodes(internal::BoundNodesMap &MyBoundNodes) in BoundNodes() function
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h59 const Stmt *findExprMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
60 const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
62 findExprPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
64 findDeclPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DMemoryUnsafeCastChecker.cpp40 static void emitDiagnostics(const BoundNodes &Nodes, BugReporter &BR, in emitDiagnostics()
60 static void emitDiagnosticsUnrelated(const BoundNodes &Nodes, BugReporter &BR, in emitDiagnosticsUnrelated()
133 for (BoundNodes Match : Matches) in checkASTCodeBody()
178 for (BoundNodes Match : MatchesUnrelatedTypes) in checkASTCodeBody()
/freebsd/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 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 DStreamChecker.cpp772 for (BoundNodes Match : Matches) { in doesFnIntendToHandleOwnership()
H A DMallocChecker.cpp917 for (BoundNodes Match : Matches) { in doesFnIntendToHandleOwnership()
/freebsd/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 <()
610 Key.BoundNodes = *Builder; in memoizedMatchesRecursively()
820 void SetBoundNodes(const BoundNodes &BN) { in SetBoundNodes()
830 const BoundNodes *getBoundNodes() const { in getBoundNodes()
856 const BoundNodes *BNodes = nullptr;
940 if (const BoundNodes *Nodes = State.getBoundNodes()) { in print()
943 const BoundNodes::IDToNodeMap &Map = Nodes->getMap(); in print()
1177 Keys.back().BoundNodes = *Builder; in matchesAnyAncestorOf()
[all …]
H A DASTMatchersInternal.cpp104 ResultVisitor->visitMatch(BoundNodes(Binding)); in visitMatches()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp212 ast_matchers::BoundNodes Nodes;
216 explicit BindingsMatcher(ast_matchers::BoundNodes Nodes, in BindingsMatcher()
259 forEachDescendantDynamically(ast_matchers::BoundNodes Nodes, in forEachDescendantDynamically()
272 void registerMatchers(const ast_matchers::BoundNodes &Nodes, in registerMatchers()
348 const ast_matchers::BoundNodes::IDToNodeMap &NodesMap = in rewriteDescendants()
H A DStencil.cpp28 using ast_matchers::BoundNodes;
35 static llvm::Expected<DynTypedNode> getNode(const BoundNodes &Nodes, in getNode()
339 const BoundNodes::IDToNodeMap &NodeMap = match.Nodes.getMap(); in eval()
H A DRangeSelector.cpp53 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp247 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch()
360 ExprMutationAnalyzer::Analyzer::findExprMutation(ArrayRef<BoundNodes> Matches) { in findExprMutation()
366 ExprMutationAnalyzer::Analyzer::findDeclMutation(ArrayRef<BoundNodes> Matches) { in findDeclMutation()
372 ArrayRef<ast_matchers::BoundNodes> Matches) { in findExprPointeeMutation()
378 ArrayRef<ast_matchers::BoundNodes> Matches) { in findDeclPointeeMutation()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp56 for (BoundNodes Match : Matches) { in getWidenedLoopState()
H A DRegionStore.cpp1247 for (BoundNodes &Match : Matches) { in VisitCluster()
H A DBugReporterVisitors.cpp535 for (BoundNodes &Match : Matches) { in potentiallyWritesIntoIvar()