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