[PATCH] First revision of the dynamic ASTMatcher library
Samuel Benzaquen
sbenza at google.com
Fri May 10 08:55:59 PDT 2013
Replace the addMatcher() overload with an addDynamicMatcher(). We still get the benefits of using the interface for the dynamic case, but the regular case still has the compile time type safety.
We'll add runtime type checks on addDynamicMatcher() later on.
Hi doug.gregor, klimek,
http://llvm-reviews.chandlerc.com/D714
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D714?vs=1887&id=1923#toc
BRANCH
svn
ARCANIST PROJECT
clang
Files:
include/clang/ASTMatchers/ASTMatchersInternal.h
include/clang/ASTMatchers/ASTMatchFinder.h
include/clang/ASTMatchers/Dynamic
include/clang/ASTMatchers/Dynamic/Registry.h
include/clang/ASTMatchers/Dynamic/Parser.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
include/clang/ASTMatchers/Dynamic/Diagnostics.h
unittests/ASTMatchers/ASTMatchersTest.h
unittests/ASTMatchers/Dynamic
unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp
unittests/ASTMatchers/Dynamic/Makefile
unittests/ASTMatchers/Dynamic/CMakeLists.txt
unittests/ASTMatchers/Dynamic/ParserTest.cpp
unittests/ASTMatchers/CMakeLists.txt
unittests/ASTMatchers/Makefile
lib/ASTMatchers/Dynamic
lib/ASTMatchers/Dynamic/Diagnostics.cpp
lib/ASTMatchers/Dynamic/Registry.cpp
lib/ASTMatchers/Dynamic/Makefile
lib/ASTMatchers/Dynamic/Parser.cpp
lib/ASTMatchers/Dynamic/CMakeLists.txt
lib/ASTMatchers/Dynamic/VariantValue.cpp
lib/ASTMatchers/Dynamic/Marshallers.h
lib/ASTMatchers/ASTMatchFinder.cpp
lib/ASTMatchers/CMakeLists.txt
lib/ASTMatchers/Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D714.16.patch
Type: text/x-patch
Size: 70086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130510/c32220d6/attachment.bin>
More information about the cfe-commits
mailing list