[PATCH] Enhancements for the DynTypedNode/DynTypedMatcher system. - Added DynNodeType as a standalone way to represent node types and their hierarchy. - Added conversion routines and checks in Matcher<T> that take a DynTypedMatcher. - Fixed MatchFinder::addMatcherDynamic() to validate the input matcher. - Added type information on the error messages for the marshallers. - Allows future work on Polymorphic/overloaded matchers. We should be able to disambiguate at runtime and choose the appropriate overload.
Samuel Benzaquen
sbenza at google.com
Fri May 17 14:34:16 PDT 2013
Hi klimek,
http://llvm-reviews.chandlerc.com/D815
Files:
include/clang/AST/ASTTypeTraits.h
include/clang/ASTMatchers/ASTMatchersInternal.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
lib/AST/ASTTypeTraits.cpp
lib/AST/CMakeLists.txt
lib/ASTMatchers/ASTMatchFinder.cpp
lib/ASTMatchers/Dynamic/Diagnostics.cpp
lib/ASTMatchers/Dynamic/Marshallers.h
lib/ASTMatchers/Dynamic/VariantValue.cpp
unittests/AST/ASTTypeTraitsTest.cpp
unittests/AST/CMakeLists.txt
unittests/ASTMatchers/ASTMatchersTest.cpp
unittests/ASTMatchers/Dynamic/ParserTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp
unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D815.1.patch
Type: text/x-patch
Size: 40381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130517/6c0af4df/attachment.bin>
More information about the cfe-commits
mailing list