Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DParentMapContext.h60 TraversalKind getTraversalKind() const { return Traversal; } in getTraversalKind()
61 void setTraversalKind(TraversalKind TK) { Traversal = TK; } in setTraversalKind()
70 TraversalKind Traversal = TK_AsIs;
76 TraversalKind TK = TK_AsIs;
79 TraversalKindScope(ASTContext &ASTCtx, llvm::Optional<TraversalKind> ScopeTK) in TraversalKindScope()
DASTTypeTraits.h39 enum TraversalKind { enum
536 using TraversalKind = ::clang::TraversalKind;
538 constexpr TraversalKind TK_AsIs = ::clang::TK_AsIs;
539 constexpr TraversalKind TK_IgnoreUnlessSpelledInSource =
DASTNodeTraverser.h73 TraversalKind Traversal = TraversalKind::TK_AsIs;
84 void SetTraversalKind(TraversalKind TK) { Traversal = TK; } in SetTraversalKind()
85 TraversalKind GetTraversalKind() const { return Traversal; } in GetTraversalKind()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp143 llvm::Optional<clang::TraversalKind> TraversalKind() const override { in TraversalKind() function in clang::ast_matchers::internal::__anonc7f1537b0211::IdDynMatcher
144 return InnerMatcher->TraversalKind(); in TraversalKind()
170 clang::TraversalKind TK, in DynTraversalMatcherImpl()
179 llvm::Optional<clang::TraversalKind> TraversalKind() const override { in TraversalKind() function in clang::ast_matchers::internal::__anonc7f1537b0211::DynTraversalMatcherImpl
184 clang::TraversalKind TK;
260 DynTypedMatcher::withTraversalKind(ast_type_traits::TraversalKind TK) { in withTraversalKind()
291 Implementation->TraversalKind()); in matches()
315 Implementation->TraversalKind()); in matchesNoKindCheck()
DASTMatchFinder.cpp69 TraversalKind Traversal = TK_AsIs;
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h298 virtual llvm::Optional<clang::TraversalKind> TraversalKind() const { in TraversalKind() function
415 DynTypedMatcher withTraversalKind(TraversalKind TK);
484 llvm::Optional<clang::TraversalKind> getTraversalKind() const { in getTraversalKind()
485 return Implementation->TraversalKind(); in getTraversalKind()
590 llvm::Optional<clang::TraversalKind> TraversalKind() const override { in TraversalKind() function
1203 clang::TraversalKind Traversal;
1206 explicit TraversalMatcher(clang::TraversalKind TK,
1216 llvm::Optional<clang::TraversalKind> TraversalKind() const override {
1225 TraversalWrapper(TraversalKind TK, const MatcherType &InnerMatcher)
1236 TraversalKind TK;
DASTMatchers.h791 internal::Matcher<T> traverse(TraversalKind TK, in traverse()
801 traverse(TraversalKind TK, const internal::BindableMatcher<T> &InnerMatcher) { in traverse()
811 traverse(TraversalKind TK, in traverse()
821 traverse(TraversalKind TK, const internal::ArgumentAdaptingMatcherFuncAdaptor< in traverse()
832 traverse(TraversalKind TK, const internal::PolymorphicMatcherWithParam1< in traverse()
843 traverse(TraversalKind TK, const internal::PolymorphicMatcherWithParam2< in traverse()
/external/llvm-project/clang-tools-extra/clang-query/
DQueryParser.cpp132 ast_type_traits::TraversalKind QuerySession::*Var) { in parseSetTraversalKind()
143 return new SetQuery<ast_type_traits::TraversalKind>( in parseSetTraversalKind()
144 Var, static_cast<ast_type_traits::TraversalKind>(Value)); in parseSetTraversalKind()
DQuerySession.h41 ast_type_traits::TraversalKind TK;
DQueryParser.h47 parseSetTraversalKind(ast_type_traits::TraversalKind QuerySession::*Var);
DQuery.h123 template <> struct SetQueryKind<ast_type_traits::TraversalKind> {
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp91 ASTMatchFinder::TraversalKind Traversal, in MatchChildASTVisitor()
286 const ASTMatchFinder::TraversalKind Traversal;
379 TraversalKind Traversal, BindKind Bind) { in memoizedMatchesRecursively()
413 TraversalKind Traversal, BindKind Bind) { in matchesRecursively()
427 TraversalKind Traversal, in matchesChildOf()
/external/llvm-project/clang-tools-extra/unittests/clang-query/
DQueryParserTest.cpp115 ASSERT_TRUE(isa<SetQuery<ast_type_traits::TraversalKind>>(Q)); in TEST_F()
117 cast<SetQuery<ast_type_traits::TraversalKind>>(Q)->Var); in TEST_F()
119 cast<SetQuery<ast_type_traits::TraversalKind>>(Q)->Value); in TEST_F()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h99 enum TraversalKind { enum
109 typedef TraversalKind R_Ctx;
267 bool traverse(SExpr *E, TraversalKind K = TRV_Normal) {
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h103 enum TraversalKind { enum
120 using R_Ctx = TraversalKind;
294 bool traverse(SExpr *E, TraversalKind K = TRV_Normal) {
/external/llvm-project/clang/lib/AST/
DParentMapContext.cpp116 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h855 enum TraversalKind { enum
892 TraversalKind Traverse, in matchesChildOf()
942 TraversalKind Traverse,
/external/llvm-project/clang/lib/Tooling/Transformer/
DRewriteRule.cpp345 ast_type_traits::TraversalKind DefaultTraversalKind) { in taggedMatchers()
/external/llvm-project/clang/unittests/AST/
DASTTraverserTest.cpp118 std::string dumpASTString(TraversalKind TK, NodeType &&... N) { in dumpASTString()