summaryrefslogtreecommitdiffstats
path: root/clang/lib/ASTMatchers/ASTMatchFinder.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-09-29 23:56:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-09-29 23:56:21 +0000
commit13f0aeb6ee2aa72abaf105824a9ca2619bf5ba6d (patch)
treebf08deed351609784b2f49f577482ab73244eb96 /clang/lib/ASTMatchers/ASTMatchFinder.cpp
parent8c27a52eb8f5353ed94b86c5ede21faaab7c2da7 (diff)
downloadbcm5719-llvm-13f0aeb6ee2aa72abaf105824a9ca2619bf5ba6d.tar.gz
bcm5719-llvm-13f0aeb6ee2aa72abaf105824a9ca2619bf5ba6d.zip
Revert r218616, "Refactor Matcher<T> and DynTypedMatcher to reduce overhead of casts."
MSC17, aka VS2012, cannot compile it. clang/include/clang/ASTMatchers/ASTMatchersInternal.h(387) : error C4519: default template arguments are only allowed on a class template clang/include/clang/ASTMatchers/ASTMatchersInternal.h(443) : see reference to class template instantiation 'clang::ast_matchers::internal::Matcher<T>' being compiled llvm-svn: 218648
Diffstat (limited to 'clang/lib/ASTMatchers/ASTMatchFinder.cpp')
-rw-r--r--clang/lib/ASTMatchers/ASTMatchFinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/ASTMatchers/ASTMatchFinder.cpp b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
index 685b17e9129..47f45bc3ad9 100644
--- a/clang/lib/ASTMatchers/ASTMatchFinder.cpp
+++ b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
@@ -53,7 +53,7 @@ static const unsigned MaxMemoizationEntries = 10000;
// FIXME: Benchmark whether memoization of non-pointer typed nodes
// provides enough benefit for the additional amount of code.
struct MatchKey {
- DynTypedMatcher::MatcherIDType MatcherID;
+ uint64_t MatcherID;
ast_type_traits::DynTypedNode Node;
BoundNodesTreeBuilder BoundNodes;
OpenPOWER on IntegriCloud