Replace variadic operator function pointer with an enum value.
authorSamuel Benzaquen <sbenza@google.com>
Thu, 20 Nov 2014 15:45:53 +0000 (15:45 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Thu, 20 Nov 2014 15:45:53 +0000 (15:45 +0000)
commit2c15e8ccce4158570d02441fb34d5bb24ba3f868
treedef029c9f9d90600bf2e37bb50fc6edbaa0fb842
parentb1f871cdcb4776ccf46431625dfb8d57817ea52d
Replace variadic operator function pointer with an enum value.

Summary:
Replace variadic operator function pointer with an enum value.
Hiding the implementation of the variadic matcher will allow to specialize them for the operation performed.
In particular, it will allow for a more efficient allOf() matcher.

Reviewers: klimek

Subscribers: klimek, cfe-commits

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

llvm-svn: 222432
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/include/clang/ASTMatchers/Dynamic/VariantValue.h
clang/lib/ASTMatchers/ASTMatchersInternal.cpp
clang/lib/ASTMatchers/Dynamic/Marshallers.h
clang/lib/ASTMatchers/Dynamic/VariantValue.cpp