[ASTMatchers] Add own version of VariadicFunction.
authorSamuel Benzaquen <sbenza@google.com>
Fri, 25 Mar 2016 16:29:30 +0000 (16:29 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Fri, 25 Mar 2016 16:29:30 +0000 (16:29 +0000)
commitc1384c138c0000368ea6751fc7b6ac164cae849b
tree40998f252df0c2e0900f646843cb47db3c4b1027
parent4b86a191c383a72c401a23181f28c46d6579a929
[ASTMatchers] Add own version of VariadicFunction.

Summary:
llvm::VariadicFunction is only being used by ASTMatchers.
Having our own copy here allows us to remove the other one from llvm/ADT.
Also, we can extend the API to meet our needs without modifying the common
implementation.

Reviewers: alexfh

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D18275

llvm-svn: 264417
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/ASTMatchers/Dynamic/Marshallers.h
clang/unittests/ASTMatchers/ASTMatchersTest.cpp