[PATCH] Filter the toplevel matchers by kind.
sbenza at google.com
Fri Nov 21 12:41:02 PST 2014
Filter the toplevel matchers by kind.
Decl and Stmt matchers are tied to a specific node kind and trying to
match incompatible nodes is a waste.
Precalculate a filtered list of matchers that have a chance of matching
the node and ignore the rest.
Speeds up our clang-tidy benchmark by ~10%
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10143 bytes
Desc: not available
More information about the cfe-commits