| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 76 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 D | ASTMatchersInternal.h | 81 class BoundNodes; variable 289 virtual void visitMatch(const BoundNodes& BoundNodesView) = 0;
|
| H A D | ASTMatchers.h | 111 class BoundNodes { 136 BoundNodes(internal::BoundNodesMap &MyBoundNodes) in BoundNodes() function
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ExprMutationAnalyzer.h | 59 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 D | MemoryUnsafeCastChecker.cpp | 40 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 D | RunLoopAutoreleaseLeakChecker.cpp | 80 static void emitDiagnostics(BoundNodes &Match, in emitDiagnostics() 169 for (BoundNodes Match : Matches) in checkTempObjectsInSamePool() 190 for (BoundNodes Match : Matches) in checkTempObjectsInNoPool()
|
| H A D | OSObjectCStyleCast.cpp | 51 static void emitDiagnostics(const BoundNodes &Nodes, in emitDiagnostics() 115 for (BoundNodes Match : Matches) in checkASTCodeBody()
|
| H A D | ObjCAutoreleaseWriteChecker.cpp | 111 static void emitDiagnostics(BoundNodes &Match, const Decl *D, BugReporter &BR, in emitDiagnostics() 230 for (BoundNodes Match : Matches) in checkASTCodeBody()
|
| H A D | StreamChecker.cpp | 772 for (BoundNodes Match : Matches) { in doesFnIntendToHandleOwnership()
|
| H A D | MallocChecker.cpp | 917 for (BoundNodes Match : Matches) { in doesFnIntendToHandleOwnership()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 71 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 D | ASTMatchersInternal.cpp | 104 ResultVisitor->visitMatch(BoundNodes(Binding)); in visitMatches()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RewriteRule.cpp | 212 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 D | Stencil.cpp | 28 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 D | RangeSelector.cpp | 53 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 247 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 D | LoopWidening.cpp | 56 for (BoundNodes Match : Matches) { in getWidenedLoopState()
|
| H A D | RegionStore.cpp | 1247 for (BoundNodes &Match : Matches) { in VisitCluster()
|
| H A D | BugReporterVisitors.cpp | 535 for (BoundNodes &Match : Matches) { in potentiallyWritesIntoIvar()
|