[PATCH] Add support for Adaptative matchers on the dynamic registry.

Samuel Benzaquen sbenza at google.com
Tue Jul 23 07:51:15 PDT 2013


Hi klimek,

Add support for Adaptative matchers on the dynamic registry.
Each adaptative matcher is created with a function template. We instantiate the function N times, one for each possible From type and apply the techniques used on argument overloaded and polymorphic matchers to add them to the registry.

http://llvm-reviews.chandlerc.com/D1201

Files:
  include/clang/ASTMatchers/ASTMatchers.h
  include/clang/ASTMatchers/ASTMatchersInternal.h
  lib/ASTMatchers/Dynamic/Registry.cpp
  unittests/ASTMatchers/Dynamic/RegistryTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1201.1.patch
Type: text/x-patch
Size: 10611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130723/7c7f3497/attachment.bin>


More information about the cfe-commits mailing list