]> granicus.if.org Git - clang/commit
Refactor "MatcherList" into "VariantMatcher" and abstract the notion of a list of...
authorSamuel Benzaquen <sbenza@google.com>
Tue, 13 Aug 2013 14:54:51 +0000 (14:54 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Tue, 13 Aug 2013 14:54:51 +0000 (14:54 +0000)
commit9d02807c3ea9782442b98201df68294cd7cd7313
tree1dfe28d49ebbac32739c858901bf3923317b51f5
parent4c5be124df9e15fbc8469d8f0135216f1d23bf14
Refactor "MatcherList" into "VariantMatcher" and abstract the notion of a list of matchers for the polymorphic case.

Summary:
Refactor "MatcherList" into "VariantMatcher" and abstract the notion of a list of matchers for the polymorphic case.
This work is to support future changes needed for eachOf/allOf/anyOf matchers. We will add a new type on VariantMatcher.

Reviewers: klimek

CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1365

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188272 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/Dynamic/Parser.h
include/clang/ASTMatchers/Dynamic/Registry.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
lib/ASTMatchers/Dynamic/Marshallers.h
lib/ASTMatchers/Dynamic/Parser.cpp
lib/ASTMatchers/Dynamic/Registry.cpp
lib/ASTMatchers/Dynamic/VariantValue.cpp
unittests/ASTMatchers/Dynamic/ParserTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp
unittests/ASTMatchers/Dynamic/VariantValueTest.cpp