summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-05-16 17:57:38 +0000
committerStephen Kelly <steveire@gmail.com>2019-05-16 17:57:38 +0000
commitd147cea3b94f98e8e1318cac3a4894c2959e230c (patch)
treea89f3104bb0e87f49a968b1fd5828a978776731a /clang/unittests/ASTMatchers
parentf8f788b2054e2327524454e603db931b3ac6d08e (diff)
downloadbcm5719-llvm-d147cea3b94f98e8e1318cac3a4894c2959e230c.tar.gz
bcm5719-llvm-d147cea3b94f98e8e1318cac3a4894c2959e230c.zip
Move TraversalKind enum to ast_type_traits
Summary: Make it usable outside of ASTMatchFinder. This will make it possible to use this enum to control whether certain implicit nodes are skipped while AST dumping for example. Reviewers: klimek, aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61836 llvm-svn: 360920
Diffstat (limited to 'clang/unittests/ASTMatchers')
-rw-r--r--clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp b/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
index dc031256cf4..6015825de14 100644
--- a/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
+++ b/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
@@ -76,7 +76,7 @@ AST_POLYMORPHIC_MATCHER_P(polymorphicHas,
internal::Matcher<Decl>, AMatcher) {
return Finder->matchesChildOf(
Node, AMatcher, Builder,
- ASTMatchFinder::TK_IgnoreImplicitCastsAndParentheses,
+ ast_type_traits::TraversalKind::TK_IgnoreImplicitCastsAndParentheses,
ASTMatchFinder::BK_First);
}
OpenPOWER on IntegriCloud