[PATCH] Separate the matchers by type and statically dispatch to the right list.

Samuel Benzaquen sbenza at google.com
Thu Sep 4 12:04:11 PDT 2014


Hi klimek,

Separate the matchers by type and statically dispatch to the right list.
For any node type that we support, it reduces the number of matchers we
run it through.
For node types we do not support, it makes match() a noop.

http://reviews.llvm.org/D5197

Files:
  include/clang/ASTMatchers/ASTMatchFinder.h
  lib/ASTMatchers/ASTMatchFinder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5197.13279.patch
Type: text/x-patch
Size: 8911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140904/dfc3839a/attachment.bin>


More information about the cfe-commits mailing list