[PATCH] Replace variadic operator function pointer with an enum value.

Samuel Benzaquen sbenza at google.com
Mon Nov 17 07:54:52 PST 2014


Hi klimek,

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.

http://reviews.llvm.org/D6293

Files:
  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6293.16287.patch
Type: text/x-patch
Size: 19157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141117/7d440585/attachment.bin>


More information about the cfe-commits mailing list