[clang] 0b2eaa3 - Fix MSVC buildbots after ast_type_traits namespace removal
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 13 11:57:08 PST 2020
Author: Reid Kleckner
Date: 2020-02-13T11:57:00-08:00
New Revision: 0b2eaa373d12dacf58a72fd9e35ea6159a138647
URL: https://github.com/llvm/llvm-project/commit/0b2eaa373d12dacf58a72fd9e35ea6159a138647
DIFF: https://github.com/llvm/llvm-project/commit/0b2eaa373d12dacf58a72fd9e35ea6159a138647.diff
LOG: Fix MSVC buildbots after ast_type_traits namespace removal
Added:
Modified:
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
Removed:
################################################################################
diff --git a/clang/include/clang/ASTMatchers/ASTMatchersInternal.h b/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
index 90176bc23467..03eb1f79eea0 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
@@ -282,7 +282,7 @@ class DynMatcherInterface
virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
BoundNodesTreeBuilder *Builder) const = 0;
- virtual llvm::Optional<TraversalKind> TraversalKind() const {
+ virtual llvm::Optional<clang::TraversalKind> TraversalKind() const {
return llvm::None;
}
};
@@ -1168,10 +1168,10 @@ struct ArgumentAdaptingMatcherFunc {
template <typename T>
class TraversalMatcher : public WrapperMatcherInterface<T> {
- TraversalKind Traversal;
+ clang::TraversalKind Traversal;
public:
- explicit TraversalMatcher(TraversalKind TK, const Matcher<T> &ChildMatcher)
+ explicit TraversalMatcher(clang::TraversalKind TK, const Matcher<T> &ChildMatcher)
: TraversalMatcher::WrapperMatcherInterface(ChildMatcher), Traversal(TK) {
}
@@ -1181,7 +1181,7 @@ class TraversalMatcher : public WrapperMatcherInterface<T> {
Builder);
}
- llvm::Optional<TraversalKind> TraversalKind() const override {
+ llvm::Optional<clang::TraversalKind> TraversalKind() const override {
return Traversal;
}
};
More information about the cfe-commits
mailing list