[PATCH] Refactor Matcher<T> and DynTypedMatcher to reduce overhead of casts.
Samuel Benzaquen
sbenza at google.com
Tue Sep 30 09:41:41 PDT 2014
Use a static_assert() instead of an enable_if<>.
We don't need to disable for overloading, and the default template argument is not supported on all platforms yet.
http://reviews.llvm.org/D5542
Files:
include/clang/AST/ASTTypeTraits.h
include/clang/ASTMatchers/ASTMatchersInternal.h
lib/ASTMatchers/ASTMatchFinder.cpp
lib/ASTMatchers/ASTMatchersInternal.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp
unittests/ASTMatchers/Dynamic/ParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5542.14233.patch
Type: text/x-patch
Size: 29281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140930/698fe99f/attachment.bin>
More information about the cfe-commits
mailing list