Home
last modified time | relevance | path

Searched refs:ActiveASTContext (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp426 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} in MatchASTVisitor()
455 ActiveASTContext = NewActiveASTContext; in set_active_ast_context()
491 ActiveASTContext->getCanonicalType(TypeNode); in VisitTypedefNameDecl()
736 ASTContext &getASTContext() const override { return *ActiveASTContext; } in getASTContext()
935 assert(MV.ActiveASTContext && in print()
1034 MatchVisitor Visitor(*this, ActiveASTContext, MP.second); in matchWithoutFilter()
1067 MatchVisitor Visitor(*this, ActiveASTContext, MP.second); in matchWithFilter()
1125 for (const auto &Parent : ActiveASTContext->getParents(Node)) { in matchesParentOf()
1190 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf()
1216 llvm::any_of(ActiveASTContext->getTraversalScope(), [](Decl *D) { in matchesAnyAncestorOf()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp134 ActiveASTContext(&Context), Handler(&NewHandler) { in MatchDescendantVisitor()
232 if (Matcher->matches(DynTypedNode::create(Node), *ActiveASTContext, in match()
246 ASTContext *ActiveASTContext; member in MatchDescendantVisitor