[PATCH] Refactor DynTypedMatcher into a value type class, just like Matcher<T>.

Samuel Benzaquen sbenza at google.com
Mon Sep 30 14:16:29 PDT 2013


  Merge all the operations into one function with an op argument.
  This reduces even more the number of symbols, and simplifies the state of DynTypedMatcher.
  Now it contains only one function pointer, plus the storage for the matcher.

Hi klimek,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1661?vs=4240&id=4554#toc

Files:
  include/clang/ASTMatchers/ASTMatchFinder.h
  include/clang/ASTMatchers/ASTMatchersInternal.h
  include/clang/ASTMatchers/Dynamic/Parser.h
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  lib/ASTMatchers/ASTMatchFinder.cpp
  lib/ASTMatchers/ASTMatchersInternal.cpp
  lib/ASTMatchers/Dynamic/Marshallers.h
  lib/ASTMatchers/Dynamic/Parser.cpp
  lib/ASTMatchers/Dynamic/Registry.cpp
  lib/ASTMatchers/Dynamic/VariantValue.cpp
  unittests/ASTMatchers/Dynamic/ParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1661.2.patch
Type: text/x-patch
Size: 48328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130930/b9beb8d3/attachment.bin>


More information about the cfe-commits mailing list