[PATCH] Replace variadic operator function pointer with an enum value.
Manuel Klimek
klimek at google.com
Mon Nov 17 07:58:45 PST 2014
================
Comment at: lib/ASTMatchers/ASTMatchersInternal.cpp:127
@@ -102,1 +126,3 @@
auto SupportedKind = InnerMatchers[0].SupportedKind;
+ VariadicMatcher::VariadicOperatorFunction Func;
+ switch (Op) {
----------------
Please add a comment why we can't use virtual dispatch here.
http://reviews.llvm.org/D6293
More information about the cfe-commits
mailing list