]> granicus.if.org Git - clang/commit
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)
commit953de1f092f5af5f0a1d399bd5c3f51a84804609
treeef7d23413151d4567ead922922cb2bb5e7abf6a7
parent4d89da61ff70aad3a39244bb38a9b0bcb1fc71a4
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222432 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
include/clang/ASTMatchers/ASTMatchersInternal.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
lib/ASTMatchers/ASTMatchersInternal.cpp
lib/ASTMatchers/Dynamic/Marshallers.h
lib/ASTMatchers/Dynamic/VariantValue.cpp