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.
Details
Diff Detail
Event Timeline
lib/ASTMatchers/ASTMatchersInternal.cpp | ||
---|---|---|
127 | Please add a comment why we can't use virtual dispatch here. |
lib/ASTMatchers/ASTMatchersInternal.cpp | ||
---|---|---|
127 | Virtual dispatch how? |
No, I had a draft containing "ah, then lgtm" which I apparently forgot to
hit "send" on.
Please add a comment why we can't use virtual dispatch here.